Description
CONTRIBUTING.md's Guidelines section states "Tests required for new utilities (minimum 80% coverage)". jest.config.js's actual enforced coverageThreshold is { global: { branches: 60, functions: 60, lines: 60, statements: 60 } } — 20 points lower than what the contribution guide tells new contributors to hit, across every metric. A contributor following CONTRIBUTING.md's stated bar would be doing meaningfully more work than the CI-enforced minimum actually requires, or conversely, a PR that meets the enforced 60% (and thus passes CI) could still be seen as under-tested against the documented 80% expectation, with no build check to tell the reviewer which bar applies.
Component
SDK
Difficulty
🟢 Easy
Tasks
Acceptance Criteria
Estimated Time
<1 day
Description
CONTRIBUTING.md's Guidelines section states "Tests required for new utilities (minimum 80% coverage)".jest.config.js's actual enforcedcoverageThresholdis{ global: { branches: 60, functions: 60, lines: 60, statements: 60 } }— 20 points lower than what the contribution guide tells new contributors to hit, across every metric. A contributor following CONTRIBUTING.md's stated bar would be doing meaningfully more work than the CI-enforced minimum actually requires, or conversely, a PR that meets the enforced 60% (and thus passes CI) could still be seen as under-tested against the documented 80% expectation, with no build check to tell the reviewer which bar applies.Component
SDK
Difficulty
🟢 Easy
Tasks
jest.config.js'scoverageThresholdup to 80% if genuinely wanted (checking current coverage headroom first), or lowerCONTRIBUTING.md's stated figure to match the enforced 60%Acceptance Criteria
CONTRIBUTING.mdandjest.config.jsstate the same coverage barEstimated Time
<1 day