Give the frontend's check scripts something that runs them

Eight `*.check.ts` scripts existed and nothing ran any of them, so a
helper's arithmetic was only checked by hand. `make test-checks` runs
every one and `make test` now includes it — they need no stack, so they
sit between the backend suite and Playwright.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KYM38KSb4V4v2T71eifnZv
This commit is contained in:
2026-08-30 17:19:20 +02:00
co-authored by Claude Opus 5
parent 671452e5eb
commit 8b65e1ecfd
2 changed files with 10 additions and 3 deletions
+2 -1
View File
@@ -12,7 +12,8 @@
"preview": "vite preview",
"generate-client": "openapi-ts",
"test": "bunx playwright test",
"test:ui": "bunx playwright test --ui"
"test:ui": "bunx playwright test --ui",
"check": "for f in $(find src -name '*.check.ts' | sort); do echo \" → $f\"; bun run \"$f\" || exit 1; done"
},
"dependencies": {
"@hookform/resolvers": "^5.2.2",