canvas-website/tests
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
..
e2e feat: add comprehensive test suite for CRDT, offline storage, and auth 2025-12-18 02:42:01 -05:00
mocks feat: add comprehensive test suite for CRDT, offline storage, and auth 2025-12-18 02:42:01 -05:00
unit feat: add comprehensive test suite for CRDT, offline storage, and auth 2025-12-18 02:42:01 -05:00
worker feat: add worker unit tests for CryptID auth handlers 2025-12-18 02:46:28 -05:00
setup.ts feat: add comprehensive test suite for CRDT, offline storage, and auth 2025-12-18 02:42:01 -05:00