From 96a6fb45450a1ff204ad66ed7ad722febe61ee92 Mon Sep 17 00:00:00 2001 From: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> Date: Sun, 25 Aug 2024 07:25:22 -0400 Subject: [PATCH] fix coverage command Co-authored-by: Michael Esteban Signed-off-by: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> --- .../site/pages/en/learn/test-runner/collecting-code-coverage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/pages/en/learn/test-runner/collecting-code-coverage.md b/apps/site/pages/en/learn/test-runner/collecting-code-coverage.md index 76bae37c242c1..d9ad7c259994d 100644 --- a/apps/site/pages/en/learn/test-runner/collecting-code-coverage.md +++ b/apps/site/pages/en/learn/test-runner/collecting-code-coverage.md @@ -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"