Skip to content

Add frontend testing guide#665

Open
Mayreck wants to merge 1 commit into
Commitlabs-Org:masterfrom
Mayreck:codex/frontend-testing-guide
Open

Add frontend testing guide#665
Mayreck wants to merge 1 commit into
Commitlabs-Org:masterfrom
Mayreck:codex/frontend-testing-guide

Conversation

@Mayreck

@Mayreck Mayreck commented Jun 23, 2026

Copy link
Copy Markdown

Summary

  • Add docs/TESTING_GUIDE.md covering Vitest, React Testing Library, happy-dom, coverage, fetch mocks, Freighter mocks, and fake timers
  • Link the guide from README.md and DEVELOPER_GUIDE.md
  • Add executable examples in src/lib/__tests__/testingGuideExamples.test.tsx

Validation

  • npx vitest run src/lib/__tests__/testingGuideExamples.test.tsx
  • npx eslint src/lib/__tests__/testingGuideExamples.test.tsx

Baseline notes

Closes #658.

@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

@Mayreck is attempting to deploy a commit to the 1nonly's projects Team on Vercel.

A member of the Team first needs to authorize it.

@GBOYEE

GBOYEE commented Jun 24, 2026

Copy link
Copy Markdown

I'd like to work on this.

Approach:

  • I'll write the test cases and ensure they pass with full coverage
  • Verify with existing tests + add new ones if needed

Estimated effort: ~1-2 hours. PR incoming shortly.

1 similar comment
@GBOYEE

GBOYEE commented Jun 24, 2026

Copy link
Copy Markdown

I'd like to work on this.

Approach:

  • I'll write the test cases and ensure they pass with full coverage
  • Verify with existing tests + add new ones if needed

Estimated effort: ~1-2 hours. PR incoming shortly.

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.

Write a frontend testing guide covering Vitest, RTL, and happy-dom conventions

2 participants