feat: adds coverageThreshold as a config, uses non-workspace dir for tests by owlstronaut · Pull Request #533 · npm/template-oss (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@owlstronaut

This pull request updates how the node:test test runner handles the coverage threshold configuration and improves the generated package.json scripts. The main changes make the coverage threshold customizable (defaulting to 100 if not set), ensure that test scripts explicitly target test files, and update tests to cover these behaviors.

@owlstronaut

wraithgar

owlstronaut pushed a commit that referenced this pull request

Oct 20, 2025

@github-actions

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

2 participants

@owlstronaut @wraithgar