Commit c4b0eb7
committed
Add Vitest test suite with 10 tests
- Tests cover: health, read-only enforcement (POST/PUT/PATCH/DELETE blocked),
security headers, content type validation
- Update CI workflow to run tests
- Add test scripts to package.json1 parent 2e6d6a2 commit c4b0eb7
6 files changed
Lines changed: 1715 additions & 196 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