Skip to content

Add Vitest test suite (3 tests)#2

Merged
rolandfarkasCOM merged 2 commits intomainfrom
feat/add-vitest-tests
Apr 17, 2026
Merged

Add Vitest test suite (3 tests)#2
rolandfarkasCOM merged 2 commits intomainfrom
feat/add-vitest-tests

Conversation

@rolandfarkasCOM
Copy link
Copy Markdown
Member

Summary

Closes #1

  • Vitest + React Testing Library + happy-dom
  • 3 tests: app render, home route, API exports
  • CI updated with test step

Test plan

  • npm test — 3 tests pass
  • npm run typecheck — clean
  • npm run build — clean

- Tests cover: app rendering, routing, API client exports
- Uses happy-dom for browser environment
- CI updated to run tests before build
- Add test scripts to package.json
Add triple-slash reference for vitest/config types so tsc-b recognizes
the test property in the Vite config.
@rolandfarkasCOM rolandfarkasCOM merged commit 3390457 into main Apr 17, 2026
1 check passed
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.

Add Vitest test suite

1 participant