Skip to content

Commit

Permalink
fix: added check coverage false cause then it fails on the command
Browse files Browse the repository at this point in the history
  • Loading branch information
kevkevinpal committed Nov 2, 2023
1 parent 63611b8 commit 07ff23a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/coverageTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const getPackageJSON = () => {

const getCoverageReportValue = () =>
new Promise((res, rej) => {
exec('npx nyc report --reporter=text-summary', (err, stdout, stderr) => {
exec('npx nyc report --reporter=text-summary --check-coverage=false', (err, stdout, stderr) => {
if (err) {
rej(stderr || err)
}
Expand Down

0 comments on commit 07ff23a

Please sign in to comment.