fix: support cjs, cts, mjs, and mts for the --ext flag (#30398)

This commit is contained in:
David Sherret 2025-08-14 12:02:49 -04:00 committed by GitHub
parent 228574b042
commit 4ade335fc8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 162 additions and 75 deletions

View file

@ -586,7 +586,7 @@ fn filter_coverages(
|| e.url.starts_with("data:")
|| e.url.ends_with("__anonymous__")
|| e.url.ends_with("$deno$test.mjs")
|| e.url.ends_with("$deno$stdin.mts")
|| e.url.contains("/$deno$stdin.")
|| e.url.ends_with(".snap")
|| is_supported_test_path(Path::new(e.url.as_str()))
|| doc_test_re.is_match(e.url.as_str())