summaryrefslogtreecommitdiff
path: root/cli/test_runner.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/test_runner.rs')
-rw-r--r--cli/test_runner.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/test_runner.rs b/cli/test_runner.rs
index fa0da706b..265b514c1 100644
--- a/cli/test_runner.rs
+++ b/cli/test_runner.rs
@@ -44,7 +44,8 @@ pub fn prepare_test_modules_urls(
for path in include_paths {
let p = deno_fs::normalize_path(&root_path.join(path));
if p.is_dir() {
- let test_files = crate::fs::files_in_subtree(p, is_supported);
+ let test_files =
+ crate::fs::collect_files(vec![p], vec![], is_supported).unwrap();
let test_files_as_urls = test_files
.iter()
.map(|f| Url::from_file_path(f).unwrap())