summaryrefslogtreecommitdiff
path: root/cli/tests/integration/coverage_tests.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-11-15 17:21:25 +0100
committerGitHub <noreply@github.com>2022-11-15 17:21:25 +0100
commit7aa8e9c0351eabe822916394942c576381a13c6c (patch)
tree189b0fe0ace7d49aa706be04755140a68f09b47b /cli/tests/integration/coverage_tests.rs
parentc1cb4d6a8da52e69c10c5f4aabb79292d537347d (diff)
test: don't use remote std for tests (#16631)
Diffstat (limited to 'cli/tests/integration/coverage_tests.rs')
-rw-r--r--cli/tests/integration/coverage_tests.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/integration/coverage_tests.rs b/cli/tests/integration/coverage_tests.rs
index 251577c4b..1ee3af371 100644
--- a/cli/tests/integration/coverage_tests.rs
+++ b/cli/tests/integration/coverage_tests.rs
@@ -211,6 +211,7 @@ fn no_snaps_included(test_name: &str, extension: &str) {
.current_dir(util::testdata_path())
.arg("coverage")
.arg("--unstable")
+ .arg("--include=no_snaps_included.ts")
.arg(format!("{}/", tempdir.to_str().unwrap()))
.stdout(std::process::Stdio::piped())
.stderr(std::process::Stdio::piped())
@@ -260,6 +261,7 @@ fn no_transpiled_lines() {
let output = util::deno_cmd_with_deno_dir(&deno_dir)
.current_dir(util::testdata_path())
.arg("coverage")
+ .arg("--include=no_transpiled_lines/index.ts")
.arg(format!("{}/", tempdir.to_str().unwrap()))
.stdout(std::process::Stdio::piped())
.stderr(std::process::Stdio::piped())
@@ -287,6 +289,7 @@ fn no_transpiled_lines() {
.current_dir(util::testdata_path())
.arg("coverage")
.arg("--lcov")
+ .arg("--include=no_transpiled_lines/index.ts")
.arg(format!("{}/", tempdir.to_str().unwrap()))
.stdout(std::process::Stdio::piped())
.stderr(std::process::Stdio::inherit())