diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-12 18:00:51 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-12 18:02:16 -0500 |
| commit | 0cbf92d1bbc152c8fa66e3437f04cf6b95c422ee (patch) | |
| tree | 833f2a5525527e17359fbc1faee6f98125fbae03 /modules | |
| parent | 7ff4e99bb9c7d6b821b0ccf7b81baaa194b570ac (diff) | |
| download | dotemacs-0cbf92d1bbc152c8fa66e3437f04cf6b95c422ee.tar.gz dotemacs-0cbf92d1bbc152c8fa66e3437f04cf6b95c422ee.zip | |
test(prog-webdev): cover cj/webdev-format-buffer
I added `tests/test-prog-webdev-format.el` — 7 ERT tests over `cj/--webdev-format-command` (plain path, spaces-quoted, `.tsx`) and `cj/webdev-format-buffer` (prettier present → the region command targets `buffer-file-name`; the `file.ts` fallback when the buffer has no file; point clamps to `point-max` when the format shrinks the buffer; prettier missing → `user-error`). `executable-find` and `shell-command-on-region` are stubbed. `cj/webdev-keybindings` was already covered by `test-prog-webdev--format-wiring.el`.
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions
