From a66f327250d9df77816e80e7d411b232f8b08b11 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Sun, 6 Jun 2021 18:32:06 +0200 Subject: tests: run wpt scripts with Deno.core.evalContext (#10852) This means wpts are now run in script context, and there are better stack traces. --- tools/util.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools/util.js') 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))); -- cgit v1.2.3