diff options
Diffstat (limited to 'tests/testdata/run/058_tasks_microtasks_close.ts')
-rw-r--r-- | tests/testdata/run/058_tasks_microtasks_close.ts | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/testdata/run/058_tasks_microtasks_close.ts b/tests/testdata/run/058_tasks_microtasks_close.ts deleted file mode 100644 index df6f85ea0..000000000 --- a/tests/testdata/run/058_tasks_microtasks_close.ts +++ /dev/null @@ -1,19 +0,0 @@ -// deno-lint-ignore-file no-window-prefix -console.log("sync 1"); -setTimeout(() => { - console.log("setTimeout 1"); - Promise.resolve().then(() => { - console.log("Promise resolve in setTimeout 1"); - }); -}); -Promise.resolve().then(() => { - console.log("promise 1"); -}); -globalThis.close(); -console.log("sync 2"); -setTimeout(() => { - console.log("setTimeout 2"); -}); -setTimeout(() => { - console.log("setTimeout 3"); -}, 100); |