Skip to content

Commit

Permalink
chore: fix build (denoland#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmastrac authored Dec 6, 2023
1 parent 788ee93 commit 248baf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/modules/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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');")),
])));
Expand Down

0 comments on commit 248baf6

Please sign in to comment.