vitest, @storybook/addon-vitest, the Playwright browser provider, and .storybook/vitest.setup.ts are all configured in client/vite.config.ts — but there is no test script in client/package.json, so nothing runs. The 23 existing Storybook stories could be executed as tests.
Tasks:
- add a
test script (e.g. vitest run) to client/package.json
- write real component/unit tests (auth form validation, document list rendering)
- delete the 0-byte
client/src/lib/__tests__/api.test.tsx (a corpse) or implement it
This also backs the resume claim of concurrent users: a story/load test makes it defensible.
vitest, @storybook/addon-vitest, the Playwright browser provider, and
.storybook/vitest.setup.tsare all configured inclient/vite.config.ts— but there is notestscript inclient/package.json, so nothing runs. The 23 existing Storybook stories could be executed as tests.Tasks:
testscript (e.g.vitest run) toclient/package.jsonclient/src/lib/__tests__/api.test.tsx(a corpse) or implement itThis also backs the resume claim of concurrent users: a story/load test makes it defensible.