diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2023-08-04 22:29:04 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-04 22:29:04 +0900 |
commit | 8a175a780a43b4cec7adfff5adbc65d8784aa4ed (patch) | |
tree | f341f4624402ded312b0c89659d5a135ac01cd35 /cli/js | |
parent | 6405b5f454e140b0d79b603b0627debd246c7b9f (diff) |
fix(test): make test runner work when global setTimeout is replaced (#20052)
Diffstat (limited to 'cli/js')
-rw-r--r-- | cli/js/40_testing.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/js/40_testing.js b/cli/js/40_testing.js index 90a725fca..c073b1c18 100644 --- a/cli/js/40_testing.js +++ b/cli/js/40_testing.js @@ -5,6 +5,7 @@ const ops = core.ops; import { setExitHandler } from "ext:runtime/30_os.js"; import { Console } from "ext:deno_console/01_console.js"; import { serializePermissions } from "ext:runtime/10_permissions.js"; +import { setTimeout } from "ext:deno_web/02_timers.js"; import { assert } from "ext:deno_web/00_infra.js"; const primordials = globalThis.__bootstrap.primordials; const { |