Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Jest coverage threshold and update test scripts. #68

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

emdhruu
Copy link

@emdhruu emdhruu commented Dec 26, 2024

📝 Description

This PR introduces coverage thresholds for Jest tests to enforce minimum code coverage.

Fixes #45

🖼️ Screenshot

Screenshot (25)

List the major changes in this PR.

  • Added coverageThreshold configuration in jest.config.js.
  • Enabled coverage collection with collectCoverage.
  • Updated test script in package.json to run Jest with coverage.
  • Verified that the coverage report is generated by running npm run test.
  • Mentioned the changes that are made in CONTRIBUTING.md.

@emdhruu emdhruu requested a review from a team as a code owner December 26, 2024 16:05
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.

Add coverage threshold for automated tests
1 participant