From 091059450eab50c1975fb0d3ecd4fcdefcb22b76 Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Mon, 28 Dec 2020 23:51:26 +0800 Subject: feat(unstable): collect coverage from the run command (#8893) This adds implicit coverage collection to the run command when a coverage collection directory is set (via an environment variable). --- cli/tests/integration_tests.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cli/tests/integration_tests.rs') diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 5696f1f5b..67cafeeca 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -3322,6 +3322,12 @@ itest!(deno_test_run_test_coverage { exit_code: 0, }); +itest!(deno_test_run_run_coverage { + args: "test --allow-all --coverage --unstable test_run_run_coverage.ts", + output: "test_run_run_coverage.out", + exit_code: 0, +}); + itest!(deno_lint { args: "lint --unstable lint/file1.js lint/file2.ts lint/ignored_file.ts", output: "lint/expected.out", -- cgit v1.2.3