mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
chore(cli/tools/test_runner): inline execute_module rresults (#11358)
This commit is contained in:
parent
f649960f87
commit
0bc54a0099
1 changed files with 2 additions and 4 deletions
|
@ -303,16 +303,14 @@ pub async fn run_test_file(
|
|||
None
|
||||
};
|
||||
|
||||
let execute_result = worker.execute_module(&main_module).await;
|
||||
execute_result?;
|
||||
worker.execute_module(&main_module).await?;
|
||||
|
||||
worker.execute_script(
|
||||
&located_script_name!(),
|
||||
"window.dispatchEvent(new Event('load'))",
|
||||
)?;
|
||||
|
||||
let execute_result = worker.execute_module(&test_module).await;
|
||||
execute_result?;
|
||||
worker.execute_module(&test_module).await?;
|
||||
|
||||
worker
|
||||
.run_event_loop(maybe_coverage_collector.is_none())
|
||||
|
|
Loading…
Reference in a new issue