From c33675588117aad0b8fabfa5816676d95ba8067e Mon Sep 17 00:00:00 2001 From: Levente Kurusa Date: Wed, 19 Apr 2023 23:30:52 +0200 Subject: fix(test/coverage): exclude test files (#18748) Fixes: #18454 --- cli/tools/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tools/test.rs') diff --git a/cli/tools/test.rs b/cli/tools/test.rs index 977073ab7..853307374 100644 --- a/cli/tools/test.rs +++ b/cli/tools/test.rs @@ -1518,7 +1518,7 @@ async fn test_specifiers( } /// Checks if the path has a basename and extension Deno supports for tests. -fn is_supported_test_path(path: &Path) -> bool { +pub(crate) fn is_supported_test_path(path: &Path) -> bool { if let Some(name) = path.file_stem() { let basename = name.to_string_lossy(); (basename.ends_with("_test") -- cgit v1.2.3