Skip to content

Commit

Permalink
fix coverage command
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Esteban <[email protected]>
Signed-off-by: Aviv Keller <[email protected]>
  • Loading branch information
RedYetiDev and mikeesto committed Aug 25, 2024
1 parent ce45d59 commit 96a6fb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Node.js currently supports thresholds for all three of the coverages supported:
If you wanted to require the previous example to have line coverage >= 90%, you could use the `--test-coverage-lines=90` flag.

```bash
node --experimental-test-coverage --test-coverage-lines=75 --test main.test.js
node --experimental-test-coverage --test-coverage-lines=90 --test main.test.js
```

```text displayName="Coverage Report"
Expand Down

0 comments on commit 96a6fb4

Please sign in to comment.