No description
Find a file
Natalie 457add9be3 test(ui-auth): add unit tests for waitlist validation + payload helpers
Extract the inline email-validation and POST /api/waitlist payload logic
out of RegisterForm into a dependency-free src/waitlist.ts module
(validateEmail / isValidEmail / normalizeEmail / buildWaitlistPayload)
and cover it with 23 vitest cases. RegisterForm now routes through the
shared helpers instead of an inline regex, keeping a single source of
truth for the email rule. Adds vitest as a devDependency + `test` script.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 15:07:25 -04:00
.forgejo/workflows ci: add publish workflow for ct-forge runners + local verdaccio/pypi/swift; set publish flags (org cocotte) 2026-06-29 21:46:48 -04:00
src test(ui-auth): add unit tests for waitlist validation + payload helpers 2026-06-30 15:07:25 -04:00
.gitignore feat(@cocotte/ui-auth): extract UI theme package to @ct/@packages 2026-06-29 13:04:10 -04:00
package.json test(ui-auth): add unit tests for waitlist validation + payload helpers 2026-06-30 15:07:25 -04:00