Skip to content

Consolidate email verification tests and de-pin instructional copy - #735

Merged
kentcdodds merged 1 commit into
mainfrom
cursor/test-quality-review-82a4
Jul 13, 2026
Merged

kentcdodds merged 1 commit into
mainfrom
cursor/test-quality-review-82a4

Conversation

@cursor

@cursor cursor Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up test-quality pass on the email verification work merged in #734. The new tests were fragmented across many small files and pinned instructional success-message copy.

Changes

  • Merged five client redirect helper test files into email-verification-flow.node.test.ts
  • Added safe-redirect.node.test.ts for redirect normalization and CTA contracts (href/label, not prose)
  • Trimmed email-verification.node.test.ts to URL-building behavior only
  • De-pinned verify-email handler and E2E invite flow assertions

Net −73 lines while keeping the same behavioral coverage.

Open in Web View Automation 

Merge five fragmented client redirect helper tests into one workflow
file, move safe-redirect coverage to a dedicated module test, and assert
href/label contracts instead of pinning success-message prose. Trim the
verify-email handler test and E2E invite flow accordingly.

Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
@cursor
cursor Bot marked this pull request as ready for review July 13, 2026 09:03
@github-actions

Copy link
Copy Markdown
Contributor

🔎 Preview deployed: https://kody-pr-735.kody-a99.workers.dev

Worker: kody-pr-735
D1: kody-pr-735-db
KV: kody-pr-735-oauth-kv

Mocks:

@kentcdodds
kentcdodds merged commit d303425 into main Jul 13, 2026
6 checks passed
@kentcdodds
kentcdodds deleted the cursor/test-quality-review-82a4 branch July 13, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants