Skip to content

add front end tests #18

Description

@Alimedhat000

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions