Tests do not fail if coverage does not meet thresholds #670
Open
Description
Describe the bug
When running yarn test
, if your tests do not meet jest coverage thresholds, your tests will still pass.
To Reproduce
Add a coverage threshold that is not met, and verify that test will still pass, even though an error is showing.
Expected behavior
If coverage thresholds are added, and they aren't met, the tests should fail. Preferably it would specify that it failed due to coverage.
Screenshots
Desktop (please complete the following information):
- OS: MacOS Big Sur (11.6)
- Browser: N/A
- Version
"@design-systems/cli": "4.13.1",
Additional context