Skip to content

Conversation

@jonulak
Copy link
Contributor

@jonulak jonulak commented Jan 10, 2025

This pull request adds tests for the projects page and associated github api calls.

Implementation

  • Add configuration for jest
  • Add test folder to tsconfig.json include paths
  • Add test folders to tsconfig.build.json exclude
  • Updated github action to run jest
  • Add unit tests for projects page components
  • Add unit tests for github library

Affected Files

  • change .github/workflows/playwright.yml
  • change tsconfig.json
  • change src/lib/github.ts
  • add src/lib/git-api-client.ts
  • add tsconfig.build.json
  • add __tests__ folder
  • add jest.config.ts
  • add jest.setup.ts

Resolves #676

@vercel
Copy link
Contributor

vercel bot commented Jan 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vets-who-code-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 10, 2025 1:28am

@jonulak jonulak marked this pull request as ready for review January 10, 2025 01:37
@jeromehardaway jeromehardaway merged commit 6e7b287 into master Jan 10, 2025
3 checks passed
@jeromehardaway jeromehardaway deleted the jonulak/add-project-tests branch January 10, 2025 02:33
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 Unit Tests for Projects Page

3 participants