Skip to content

feat(client): Setup Jest infrastructure and CI integration#4

Merged
arwas11 merged 3 commits intomainfrom
feat/testing-infra
Feb 5, 2026
Merged

feat(client): Setup Jest infrastructure and CI integration#4
arwas11 merged 3 commits intomainfrom
feat/testing-infra

Conversation

@arwas11
Copy link
Owner

@arwas11 arwas11 commented Dec 30, 2025

Summary

Establishes the testing infrastructure for the Next.js client and integrates it into the GitHub Actions CI pipeline.

Key Changes

  • Infrastructure: Configured Jest and React Testing Library (jest.config.ts, jest.setup.ts).
  • CI/CD: Added a frontend-test job to .github/workflows/ci.yml that runs on Node 24.
  • Tests: Added unit tests for the Navbar component to verify conditional rendering (Auth states).
  • Config: Updated tsconfig.json to include Jest types.

Verification

  • Ran npm run test locally (All green).
  • CI pipeline should pass after merge.

@arwas11 arwas11 merged commit 9f26b8f into main Feb 5, 2026
3 checks passed
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.

1 participant