From 7f8ab2b8f15b3480c487ec9c9359979b198b00c1 Mon Sep 17 00:00:00 2001 From: Radu <218564757+remete618@users.noreply.github.com> Date: Fri, 9 Oct 2026 09:47:11 -0700 Subject: [PATCH] docs: mention the test suite in the README The CI workflow has run 67 Vitest tests before every build since March, but the README never said how to run them locally or where they live. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 3e0df8f..8bc936a 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,7 @@ src/ │ ├── voice.ts # Speech recognition parser │ └── export.ts # CSV export ├── hooks/useStore.ts # Zustand store +├── __tests__/ # Vitest suite (scoring, parser, store, export, voice, benchmarks) └── components/ ├── QuickCheck.tsx # Single stage calculator + what-if ├── StageForm.tsx # Stage input form + image upload @@ -144,6 +145,14 @@ npm run dev Open `http://localhost:5173/hitfactor/` +### Test + +```bash +npm test +``` + +The same suite runs in CI on every push and pull request before the build and deploy steps. + ### Build ```bash