diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2021-06-06 18:32:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-06 18:32:06 +0200 |
commit | a66f327250d9df77816e80e7d411b232f8b08b11 (patch) | |
tree | 69f75867a3e0f507d2d62b3a5c2d9b23c9f8a7e5 /tools/util.js | |
parent | f1deed41e7cc04440a5fb8cdae486ae00513a361 (diff) |
tests: run wpt scripts with Deno.core.evalContext (#10852)
This means wpts are now run in script context, and there are better
stack traces.
Diffstat (limited to 'tools/util.js')
-rw-r--r-- | tools/util.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/util.js b/tools/util.js index 72163c546..98ccc77ce 100644 --- a/tools/util.js +++ b/tools/util.js @@ -3,10 +3,11 @@ import { dirname, fromFileUrl, join, + toFileUrl, } from "https://deno.land/std@0.84.0/path/mod.ts"; -export { dirname, join }; +export { dirname, fromFileUrl, join, toFileUrl }; export { existsSync } from "https://deno.land/std@0.84.0/fs/mod.ts"; -export { readLines } from "https://deno.land/std@0.84.0/io/mod.ts"; +export { readLines } from "https://deno.land/std@0.97.0/io/mod.ts"; export { delay } from "https://deno.land/std@0.84.0/async/delay.ts"; export const ROOT_PATH = dirname(dirname(fromFileUrl(import.meta.url))); |