Unit test: Add reporter watermark configuration to angular.json
Command
test
Description
After taking advantage of all the new Vitest unit test features in 21.0.0, there is only one configuration item left in the vitest-base.config.ts:
export default defineConfig({
test: {
slowTestThreshold: 1000
}
});
This is required since the Vitest's slowTestThreshold default of 300 ms is not adequate for extended test cases.
Ideally this configuration should be available through the angular.json configuration unit-test options, since it would allow the complete removal of the vitest-base.config.ts file.
Maybe follow the nomenclature that you introduced with "coverageWatermarks" and call it "reporterWatermark".
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
This feature request is now candidate for our backlog! In the next phase, the community has 60 days to upvote. If the request receives more than 20 upvotes, we'll move it to our consideration list.
You can find more details about the feature request process in our documentation.