Skip to content

Find script tests and coverage by pattern - #203

Merged
Jesse Hills (jesserockz) merged 1 commit into
mainfrom
jesserockz-2026-990
Nov 19, 2026
Merged

Jesse Hills (jesserockz) merged 1 commit into
mainfrom
jesserockz-2026-990

Conversation

@jesserockz

Copy link
Copy Markdown
Member

Stacked on #202.

The test script listed each script folder twice (once for coverage, once for the test files), so the line grew with every new script. It now uses --test-coverage-include='scripts/**' and 'scripts/**/test/*.test.*', which pick up new scripts and their tests without editing package.json. Node leaves test files out of coverage on its own, and a new script without tests still fails the 100% gate. The same 120 tests run with the same coverage report.

Base automatically changed from jesserockz-2026-989 to main November 19, 2026 22:50
The test command listed every script folder twice, so it grew with each new script. Patterns cover new scripts and their tests without editing it.
@jesserockz
Jesse Hills (jesserockz) merged commit 7f0b0f2 into main Nov 19, 2026
55 checks passed
@jesserockz
Jesse Hills (jesserockz) deleted the jesserockz-2026-990 branch November 19, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant