From 49af1ab18da02f09e65506c873526c40d005c4ed Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Tue, 7 Feb 2023 22:09:50 +0100 Subject: refactor: remove prefix from include_js_files & use extension name (#17683) --- cli/js/40_testing.js | 4 ++-- cli/tests/testdata/run/error_009_extensions_error.js.out | 2 +- cli/tests/testdata/run/wasm_streaming_panic_test.js.out | 2 +- cli/tests/testdata/run/worker_drop_handle_race.js.out | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'cli') diff --git a/cli/js/40_testing.js b/cli/js/40_testing.js index 374dc10ee..7ea52a5fc 100644 --- a/cli/js/40_testing.js +++ b/cli/js/40_testing.js @@ -4,9 +4,9 @@ const core = globalThis.Deno.core; const ops = core.ops; const internals = globalThis.__bootstrap.internals; import { setExitHandler } from "internal:runtime/js/30_os.js"; -import { Console } from "internal:ext/console/02_console.js"; +import { Console } from "internal:deno_console/02_console.js"; import { serializePermissions } from "internal:runtime/js/10_permissions.js"; -import { assert } from "internal:ext/web/00_infra.js"; +import { assert } from "internal:deno_web/00_infra.js"; const primordials = globalThis.__bootstrap.primordials; const { ArrayFrom, diff --git a/cli/tests/testdata/run/error_009_extensions_error.js.out b/cli/tests/testdata/run/error_009_extensions_error.js.out index 558eedbe1..36fc6af26 100644 --- a/cli/tests/testdata/run/error_009_extensions_error.js.out +++ b/cli/tests/testdata/run/error_009_extensions_error.js.out @@ -2,5 +2,5 @@ new Event(); ^ at [WILDCARD] - at new Event (internal:ext/web/[WILDCARD]) + at new Event (internal:deno_web/[WILDCARD]) at [WILDCARD] diff --git a/cli/tests/testdata/run/wasm_streaming_panic_test.js.out b/cli/tests/testdata/run/wasm_streaming_panic_test.js.out index 72237df6f..eec1e3b96 100644 --- a/cli/tests/testdata/run/wasm_streaming_panic_test.js.out +++ b/cli/tests/testdata/run/wasm_streaming_panic_test.js.out @@ -1,2 +1,2 @@ error: Uncaught (in promise) TypeError: Invalid WebAssembly content type. - at handleWasmStreaming (internal:ext/fetch/26_fetch.js:[WILDCARD]) + at handleWasmStreaming (internal:deno_fetch/26_fetch.js:[WILDCARD]) diff --git a/cli/tests/testdata/run/worker_drop_handle_race.js.out b/cli/tests/testdata/run/worker_drop_handle_race.js.out index afb522baa..c47db83ac 100644 --- a/cli/tests/testdata/run/worker_drop_handle_race.js.out +++ b/cli/tests/testdata/run/worker_drop_handle_race.js.out @@ -2,7 +2,7 @@ error: Uncaught (in worker "") Error throw new Error(); ^ at [WILDCARD]/workers/drop_handle_race.js:2:9 - at Object.action (internal:ext/web/02_timers.js:[WILDCARD]) - at handleTimerMacrotask (internal:ext/web/02_timers.js:[WILDCARD]) + at Object.action (internal:deno_web/02_timers.js:[WILDCARD]) + at handleTimerMacrotask (internal:deno_web/02_timers.js:[WILDCARD]) error: Uncaught (in promise) Error: Unhandled error in child worker. at Worker.#pollControl (internal:runtime/js/11_workers.js:[WILDCARD]) -- cgit v1.2.3