canvas-website/.github/workflows
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
..
deploy-worker.yml.disabled switch from github action to cloudflare native worker deployment 2025-11-10 19:05:11 -08:00
mirror-to-gitea.yml Add GitHub to Gitea mirror workflow 2025-11-22 18:00:44 -08:00
quartz-sync.yml update package.json, remove cloudflare worker deployment 2025-11-10 12:46:49 -08:00
test.yml feat: add worker unit tests for CryptID auth handlers 2025-12-18 02:46:28 -05:00