Closed
Description
-
Create an app with CRA
-
Add the coverage threshold in the package.json file
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
} -
run the command - npm test -- --watchAll=false --coverage
-
We can see "index.tsx" is not covered and the "threshold not met" messages in the console. But the script is not failing.
Metadata
Metadata
Assignees
Labels
No labels