1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/cli/tests/testdata/test/ops_sanitizer_multiple_timeout_tests.ts

11 lines
203 B
TypeScript
Raw Normal View History

// https://github.com/denoland/deno/issues/8965
function test() {
setTimeout(() => {}, 10000);
setTimeout(() => {}, 10001);
}
Deno.test("test 1", () => test());
Deno.test("test 2", () => test());