Step 4 (final) of plan.md (Spor B B3 pipeline run). Adds 4 new tests in a contiguous block at the end of tests/tally.test.mjs, mirroring the existing spawnSync style. All 4 test names contain --regex or -r. Coverage map: - SC #1 (long form, exit 0): test 1 - SC #2 (-r short form): test 2 - SC #4 (invalid exits 2 with /^tally: invalid regex/): test 3 - SC #5 (--json includes flags.regex): test 4 Total: 14 tests, all green, 3.16s wall-clock (under 5s cap). [skip-docs] |
||
|---|---|---|
| .. | ||
| fixtures | ||
| tests | ||
| REGENERATED.md | ||
| tally.mjs | ||