Skip to content

Commit

Permalink
Revert "Add tested modules as comments to invalidate"
Browse files Browse the repository at this point in the history
This reverts commit 5b3ebe0.
  • Loading branch information
caspervonb committed Apr 27, 2021
1 parent a7fa141 commit 49ac699
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions cli/tools/test_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,18 +207,9 @@ pub async fn run_tests(
"filter": filter,
});

let mut test_source = String::new();

for test_module in &test_modules {
test_source.push_str(&format!("// {}\n", test_module));
}

test_source.push_str(&format!(
"await Deno[Deno.internal].runTests({});\n",
test_options
));

let test_module = deno_core::resolve_path("$deno$test.js")?;
let test_source =
format!("await Deno[Deno.internal].runTests({});", test_options);
let test_file = File {
local: test_module.to_file_path().unwrap(),
maybe_types: None,
Expand Down

0 comments on commit 49ac699

Please sign in to comment.