1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-29 10:39:10 -05:00
denoland-deno/tests/testdata/test/sanitizer/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());