Skip to content

Frontend component testing#52

Merged
cdsaidev merged 16 commits into
mainfrom
test/frontend-component
Jun 14, 2026
Merged

Frontend component testing#52
cdsaidev merged 16 commits into
mainfrom
test/frontend-component

Conversation

@heyradcode

@heyradcode heyradcode commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add frontend Vitest coverage for shared components, hooks, and constants, including role guards, list rows, dialogs, detail sheets, page containers, countries, and useAsyncResource.
  • Cover feature UI flows for applications, submissions, tasks, cohorts, analytics, notifications, payments, profiles, wallets, reviews, and auth API behavior.
  • Add backend Jest coverage for list query DTO coercion/validation and upload image-type detection.

Notes

  • This PR adds tests only; no production code changes.
  • Adds 29 new spec files with 2,051 lines of coverage.

Testing

  • pnpm.cmd --filter @forgeng/frontend test

    • 55 test files passed
    • 291 tests passed
  • pnpm.cmd --filter @forgeng/backend test

    • 29 test suites passed
    • 235 tests passed

@heyradcode heyradcode self-assigned this Jun 14, 2026
@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
forgeng-frontend Ready Ready Preview, Comment Jun 14, 2026 8:28pm

@heyradcode heyradcode marked this pull request as draft June 14, 2026 16:55
@github-actions

github-actions Bot commented Jun 14, 2026

Copy link
Copy Markdown

Backend coverage

Backend coverage

Lines Statements Branches Functions
Coverage: 51%
51.49% (945/1835) 36.88% (447/1212) 51.02% (174/341)

@github-actions

github-actions Bot commented Jun 14, 2026

Copy link
Copy Markdown

Frontend coverage

Frontend coverage

Lines Statements Branches Functions
Coverage: 34%
33.86% (848/2504) 26.2% (417/1591) 27.66% (200/723)

@cdsaidev cdsaidev marked this pull request as ready for review June 14, 2026 20:48

@cdsaidev cdsaidev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job 👍

@cdsaidev cdsaidev merged commit 1e2c7d0 into main Jun 14, 2026
4 checks passed
@cdsaidev cdsaidev deleted the test/frontend-component branch June 14, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants