SnapAPI/src
SnapAPI Test Agent a20828b09c
Some checks failed
Build & Deploy to Staging / Build & Deploy to Staging (push) Has been cancelled
Add comprehensive route-level unit tests
- Add playground.test.ts with 14 tests for playground endpoint
- Add screenshot.test.ts with 17 tests for screenshot endpoint
- Add health.test.ts with 7 tests for health endpoint
- Add watermark.test.ts with 14 tests for watermark service

Total: 52 new tests covering:
- Input validation and error handling
- Authentication and authorization scenarios
- Caching behavior and cache bypass
- Parameter normalization and limits
- SSRF protection and blocked URLs
- Service error conditions (timeouts, queue full)
- Browser pool integration
- Watermark image processing logic

All tests pass and use proper mocking of dependencies.
2026-02-25 08:05:53 +00:00
..
docs Add GET endpoint support, response caching, and update landing page 2026-02-24 08:05:43 +00:00
middleware fix: lazy Stripe init (unblocks test suite) + add auth/keys unit tests 2026-02-24 16:26:54 +00:00
routes Add comprehensive route-level unit tests 2026-02-25 08:05:53 +00:00
services Add comprehensive route-level unit tests 2026-02-25 08:05:53 +00:00
index.ts fix: privacy 404 + enhanced playground controls 2026-02-22 08:52:32 +00:00