Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Jan 23, 2026

The Vitest unit test builder now correctly merges coverage thresholds and watermarks from a user's Vitest configuration with CLI-provided options. Previously, providing any CLI thresholds would completely replace the configuration's thresholds. Now, partial CLI thresholds are merged, allowing users to override specific metrics while keeping others from their config.

This change also ensures that the builder correctly reports failure when Vitest coverage thresholds are not met by monitoring process.exitCode.

…runnerConfig

The Vitest unit test builder now correctly merges coverage thresholds and
watermarks from a user's Vitest configuration with CLI-provided options.
Previously, providing any CLI thresholds would completely replace the
configuration's thresholds. Now, partial CLI thresholds are merged, allowing
users to override specific metrics while keeping others from their config.

This change also ensures that the builder correctly reports failure when Vitest
coverage thresholds are not met by monitoring `process.exitCode`.
@clydin clydin added the target: patch This PR is targeted for the next patch release label Jan 23, 2026
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer area: @angular/build target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant