Jeff Emmett
|
4f6ff1797f
|
feat: add worker unit tests for CryptID auth handlers
- Create 25 unit tests for CryptID authentication handlers
- Add vitest.worker.config.ts for worker test environment
- Update CI workflow to run worker tests
- Test coverage for:
- handleCheckUsername (validation, normalization)
- handleLinkEmail (validation, database errors)
- handleVerifyEmail (token validation)
- handleRequestDeviceLink (validation, 404 handling)
- handleLinkDevice (token validation)
- handleLookup (publicKey validation)
- handleGetDevices (auth validation)
- handleRevokeDevice (auth and validation)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2025-12-18 02:46:28 -05:00 |