mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
12 lines
322 B
TypeScript
12 lines
322 B
TypeScript
|
import { nextTick } from "../../../../test_util/std/node/_next_tick.ts";
|
||
|
|
||
|
// https://github.com/denoland/deno_std/issues/1651
|
||
|
|
||
|
Deno.test("test 1", async () => {
|
||
|
await new Promise<void>((resolve) => nextTick(resolve));
|
||
|
});
|
||
|
|
||
|
Deno.test("test 2", async () => {
|
||
|
await new Promise<void>((resolve) => nextTick(resolve));
|
||
|
});
|