summaryrefslogtreecommitdiff
path: root/tests/integration/coverage_tests.rs
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-07-25 10:26:54 +1000
committerGitHub <noreply@github.com>2024-07-25 10:26:54 +1000
commitf248050cb467eaed8d65428b8808254e26797cc5 (patch)
tree7e43f16a8754a6313f65f0f65c037fdae2ce986f /tests/integration/coverage_tests.rs
parent795ed23b356dc044cfb497a6189d588604a6c335 (diff)
chore: use `@std` prefix for internal module specifiers (#24543)
This change aims to replace all relative import specifiers targeted at `tests/util/std` with mapped ones (using a `deno.json` file). Towards updating the `std` git submodule.
Diffstat (limited to 'tests/integration/coverage_tests.rs')
-rw-r--r--tests/integration/coverage_tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/integration/coverage_tests.rs b/tests/integration/coverage_tests.rs
index 51b82af07..c5f8b1453 100644
--- a/tests/integration/coverage_tests.rs
+++ b/tests/integration/coverage_tests.rs
@@ -216,6 +216,8 @@ fn no_snaps_included(test_name: &str, extension: &str) {
"--quiet".to_string(),
"--allow-read".to_string(),
format!("--coverage={}", tempdir),
+ "--config".to_string(),
+ "../config/deno.json".to_string(),
format!("coverage/no_snaps_included/{test_name}_test.{extension}"),
])
.run();
@@ -256,6 +258,8 @@ fn no_tests_included(test_name: &str, extension: &str) {
"--quiet".to_string(),
"--allow-read".to_string(),
format!("--coverage={}", tempdir),
+ "--config".to_string(),
+ "../config/deno.json".to_string(),
format!("coverage/no_tests_included/{test_name}.test.{extension}"),
])
.run();
@@ -337,6 +341,8 @@ fn no_transpiled_lines() {
"test".to_string(),
"--quiet".to_string(),
format!("--coverage={}", tempdir),
+ "--config".to_string(),
+ "../config/deno.json".to_string(),
"coverage/no_transpiled_lines/".to_string(),
])
.run();