diff --git a/cli/tests/integration/coverage_tests.rs b/cli/tests/integration/coverage_tests.rs index 251577c4b0..1ee3af3716 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()) diff --git a/cli/tests/testdata/coverage/no_snaps_included/no_snaps_included_test.ts b/cli/tests/testdata/coverage/no_snaps_included/no_snaps_included_test.ts index 6dd92c235c..e1f99ed9bb 100644 --- a/cli/tests/testdata/coverage/no_snaps_included/no_snaps_included_test.ts +++ b/cli/tests/testdata/coverage/no_snaps_included/no_snaps_included_test.ts @@ -1,4 +1,4 @@ -import { assertSnapshot } from "https://deno.land/std@0.136.0/testing/snapshot.ts"; +import { assertSnapshot } from "../../../../../test_util/std/testing/snapshot.ts"; import { truth } from "./no_snaps_included.ts"; Deno.test("the truth", () => { diff --git a/cli/tests/testdata/coverage/no_transpiled_lines/index.ts b/cli/tests/testdata/coverage/no_transpiled_lines/index.ts index d22b1673dd..df25283cd3 100644 --- a/cli/tests/testdata/coverage/no_transpiled_lines/index.ts +++ b/cli/tests/testdata/coverage/no_transpiled_lines/index.ts @@ -1,5 +1,5 @@ export { assertStrictEquals, -} from "https://deno.land/std@0.139.0/testing/asserts.ts"; +} from "../../../../../test_util/std/testing/asserts.ts"; export * from "./interface.ts";