diff --git a/core/modules/tests.rs b/core/modules/tests.rs index 1041b5cc1b7a3b..9c5bbaf1bcc40e 100644 --- a/core/modules/tests.rs +++ b/core/modules/tests.rs @@ -653,7 +653,7 @@ async fn dyn_import_op() { }, ); - let loader = Rc::new(CountingModuleLoader::new(StaticModuleLoader::new([ + let loader = Rc::new(TestingModuleLoader::new(StaticModuleLoader::new([ (Url::parse("file:///main.js").unwrap(), ascii_str!("(async () => { await import('./dynamic.js'); await Deno.core.opAsync('op_wait'); })();")), (Url::parse("file:///dynamic.js").unwrap(), ascii_str!("await Deno.core.opAsync('op_test');")), ])));