Skip to content

Add Vitest test suite (10 tests)#2

Merged
rolandfarkasCOM merged 1 commit intomainfrom
feat/add-vitest-tests
Apr 17, 2026
Merged

Add Vitest test suite (10 tests)#2
rolandfarkasCOM merged 1 commit intomainfrom
feat/add-vitest-tests

Conversation

@rolandfarkasCOM
Copy link
Copy Markdown
Member

Summary

Closes #1

  • 10 tests verifying read-only enforcement, security headers, health endpoint, content validation
  • POST/PUT/PATCH/DELETE all return 405
  • CI updated with test step

Test plan

  • npm test — 10 tests pass
  • npm run typecheck — clean

- 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
@rolandfarkasCOM rolandfarkasCOM merged commit ba6735d 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