From 248baf6ad03d36160d24864809b441ec6bf2ff44 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Wed, 6 Dec 2023 15:12:44 -0700 Subject: [PATCH] chore: fix build (#370) --- core/modules/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');")), ])));