summaryrefslogtreecommitdiff
path: root/cli/tests/integration/test_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-01-13 10:39:22 -0500
committerGitHub <noreply@github.com>2024-01-13 10:39:22 -0500
commitdaed58855775b4da042272a296b500d9b9e76e7d (patch)
treeae5312c8bff3ecb71d2a97d9e291f1018cd2baec /cli/tests/integration/test_tests.rs
parent0b9c06b632f25454f4aace8565830195e8320677 (diff)
fix(config): regression - handle relative patterns with leading dot slash (#21922)
This is a hacky quick fix. We need to spend more time cleaning up this code and push more stuff down into deno_config. Closes #21916
Diffstat (limited to 'cli/tests/integration/test_tests.rs')
-rw-r--r--cli/tests/integration/test_tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs
index 5150aeb92..97aba8051 100644
--- a/cli/tests/integration/test_tests.rs
+++ b/cli/tests/integration/test_tests.rs
@@ -663,3 +663,9 @@ fn conditionally_loads_type_graph() {
.run();
assert_not_contains!(output.combined_output(), "type_reference.d.ts");
}
+
+itest!(test_include_relative_pattern_dot_slash {
+ args: "test",
+ output: "test/relative_pattern_dot_slash/output.out",
+ cwd: Some("test/relative_pattern_dot_slash"),
+});