Skip to content

Commit c4b0eb7

Browse files
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.json
1 parent 2e6d6a2 commit c4b0eb7

6 files changed

Lines changed: 1715 additions & 196 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: Security audit
2325
run: npm audit --audit-level=high

.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)