From 49ac699d51abbf48d6df0f32b230f84585e49137 Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Tue, 27 Apr 2021 19:52:51 +0000 Subject: [PATCH] Revert "Add tested modules as comments to invalidate" This reverts commit 5b3ebe098ecb74d3192f9184af397aadace7d49b. --- cli/tools/test_runner.rs | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/cli/tools/test_runner.rs b/cli/tools/test_runner.rs index b52585e76fa3f9..eb5b9831cd466d 100644 --- a/cli/tools/test_runner.rs +++ b/cli/tools/test_runner.rs @@ -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,