No description
Find a file
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
.forgejo/workflows fix: promote workflow retags staging image instead of rebuilding 2026-02-20 11:34:58 +00:00
public Add GET endpoint support, response caching, and update landing page 2026-02-24 08:05:43 +00:00
sdk feat: add Node.js and Python SDKs 2026-02-23 14:02:15 +00:00
src Add comprehensive route-level unit tests 2026-02-25 08:05:53 +00:00
.gitignore feat: initial codebase v0.4.1 2026-02-19 17:05:16 +00:00
Dockerfile fix: skip puppeteer browser download in Docker build 2026-02-20 11:21:02 +00:00
package-lock.json Add comprehensive test framework with vitest and TDD tests 2026-02-24 16:23:06 +00:00
package.json Add comprehensive test framework with vitest and TDD tests 2026-02-24 16:23:06 +00:00
tsconfig.json feat: initial codebase v0.4.1 2026-02-19 17:05:16 +00:00
vitest.config.ts Add comprehensive test framework with vitest and TDD tests 2026-02-24 16:23:06 +00:00