diff options
Diffstat (limited to 'cli/tools/test.rs')
-rw-r--r-- | cli/tools/test.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cli/tools/test.rs b/cli/tools/test.rs index ec16d6fb0..a807bde05 100644 --- a/cli/tools/test.rs +++ b/cli/tools/test.rs @@ -424,10 +424,7 @@ fn extract_files_from_source_comments( ) -> Result<Vec<File>, AnyError> { let parsed_source = deno_ast::parse_module(deno_ast::ParseParams { specifier: specifier.as_str().to_string(), - source: deno_ast::SourceTextInfo::new( - deno_ast::swc::common::BytePos(0), - source, - ), + source: deno_ast::SourceTextInfo::new(source), media_type, capture_tokens: false, maybe_syntax: None, |