aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-12 18:00:51 -0500
committerCraig Jennings <c@cjennings.net>2026-05-12 18:02:16 -0500
commit4dd12154d182569fbfd50f976843badc12383535 (patch)
tree9b2fde377c60d8257c706d5f5493b68cd05911e4 /scripts
parent7312d4996dedd93429b9f9c9b51c96cf333e8260 (diff)
downloaddotemacs-4dd12154d182569fbfd50f976843badc12383535.tar.gz
dotemacs-4dd12154d182569fbfd50f976843badc12383535.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 'scripts')
0 files changed, 0 insertions, 0 deletions