diff options
| author | Casper Beyer <caspervonb@pm.me> | 2021-01-20 22:51:36 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-20 15:51:36 +0100 |
| commit | 413f79a4941d266ca1e6b61de80f83b16f6a4a4e (patch) | |
| tree | dec9f01b7796bc3c952a446702d1ddbb841af43d /cli/tests/integration_tests.rs | |
| parent | 47263ef6fafdad22546396f9e2ce1ca020c7cd3d (diff) | |
fix(coverage): ignore comments (#8639)
This commit fixes coverage collection by ignoring
comments when tallying up line counts.
Diffstat (limited to 'cli/tests/integration_tests.rs')
| -rw-r--r-- | cli/tests/integration_tests.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 80a7222e5..be7bb63c5 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -3437,6 +3437,12 @@ itest!(deno_test_coverage { exit_code: 0, }); +itest!(deno_test_comment_coverage { + args: "test --coverage --unstable test_comment_coverage.ts", + output: "test_comment_coverage.out", + exit_code: 0, +}); + itest!(deno_test_branch_coverage { args: "test --coverage --unstable test_branch_coverage.ts", output: "test_branch_coverage.out", |
