Commit 75876a5
committed
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.json1 parent a517a1f commit 75876a5
8 files changed
Lines changed: 1520 additions & 58 deletions
File tree
- .github/workflows
- src/__tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments