Skip to content

test: enable coverage collection and thresholds#586

Merged
mikesposito merged 1 commit intomainfrom
mikesposito/test/collect-coverage
Feb 10, 2026
Merged

test: enable coverage collection and thresholds#586
mikesposito merged 1 commit intomainfrom
mikesposito/test/collect-coverage

Conversation

@mikesposito
Copy link
Member

@mikesposito mikesposito commented Feb 10, 2026

Explanation

Enabling Jest coverage collection and setting coverage thresholds.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Note

Low Risk
Test configuration-only change; primary risk is CI failures or stricter test expectations due to enforced coverage thresholds and no-tests now failing.

Overview
Enables Jest coverage collection for the packages/snap workspace, including coverage output/reporters and global minimum coverage thresholds, while excluding index.ts files from coverage.

Updates the test script to run jest without --passWithNoTests, and refreshes the Snap snap.manifest.json source.shasum to match the rebuilt bundle.

Written by Cursor Bugbot for commit 88e22ec. This will update automatically on new commits. Configure here.

@mikesposito mikesposito requested a review from a team as a code owner February 10, 2026 14:12
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

@mikesposito mikesposito enabled auto-merge (squash) February 10, 2026 14:59
@mikesposito mikesposito merged commit c2a9577 into main Feb 10, 2026
17 of 18 checks passed
@mikesposito mikesposito deleted the mikesposito/test/collect-coverage branch February 10, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants