Skip to content

Commit 75876a5

Browse files
Add Vitest test suite with React Testing Library
- 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
1 parent a517a1f commit 75876a5

8 files changed

Lines changed: 1520 additions & 58 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,7 @@ jobs:
1919
- run: npm ci
2020
- name: TypeScript check
2121
run: npm run typecheck
22+
- name: Tests
23+
run: npm test
2224
- name: Build
2325
run: npm run build

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,8 @@ Thumbs.db
3333
# Logs
3434
*.log
3535
npm-debug.log*
36+
37+
# Claude Code project files
38+
CLAUDE.md
39+
.claude/
40+
tasks/

0 commit comments

Comments
 (0)