mirror of
https://github.com/denoland/deno.git
synced 2024-11-14 16:33:45 -05:00
33da15ae5a
This change also makes the timers implementation closer to the spec, and sets up the stage to implement AbortSignal.timeout() (whatwg/dom#1032). Fixes #8965 Fixes #10974 Fixes #11398
10 lines
187 B
TypeScript
10 lines
187 B
TypeScript
// https://github.com/denoland/deno/issues/8965
|
|
|
|
function test() {
|
|
setTimeout(() => {}, 10000);
|
|
setTimeout(() => {}, 10001);
|
|
}
|
|
|
|
Deno.test("test 1", test);
|
|
|
|
Deno.test("test 2", test);
|