Add comprehensive test coverage across all modules #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/more-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
db (schema creation, indexes, foreign keys, cleanup_old_clicks),
auth/mod (get_claims), and auth/middleware (jwt_validator, admin_validator)
serve_auth_js, check_setup_required, and saas dashboard/refresh.js
end-to-end tests covering full user flows: register/login/shorten/redirect,
stats, click history, URL lifecycle, QR codes, multi-user isolation,
admin operations, token refresh, setup check, and abuse reporting
middleware error responses
Total: 173 standalone tests (158 unit + 15 integration), 92 SaaS tests
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com