summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/dts/lib.deno.window.d.ts4
-rw-r--r--cli/dts/lib.deno.worker.d.ts4
-rw-r--r--cli/tests/error_009_extensions_error.js (renamed from cli/tests/error_009_op_crates_error.js)0
-rw-r--r--cli/tests/error_009_extensions_error.js.out (renamed from cli/tests/error_009_op_crates_error.js.out)2
-rw-r--r--cli/tests/integration_tests.rs6
-rw-r--r--cli/tests/unit/metrics_test.ts2
6 files changed, 9 insertions, 9 deletions
diff --git a/cli/dts/lib.deno.window.d.ts b/cli/dts/lib.deno.window.d.ts
index 3eebab677..b7eca1e24 100644
--- a/cli/dts/lib.deno.window.d.ts
+++ b/cli/dts/lib.deno.window.d.ts
@@ -62,7 +62,7 @@ declare function confirm(message?: string): boolean;
*/
declare function prompt(message?: string, defaultValue?: string): string | null;
-// TODO(nayeemrmn): Move this to `op_crates/web` where its implementation is.
+// TODO(nayeemrmn): Move this to `extensions/web` where its implementation is.
// The types there must first be split into window, worker and global types.
/** The location (URL) of the object it is linked to. Changes done on it are
* reflected on the object it relates to. Accessible via
@@ -130,6 +130,6 @@ declare class Location {
replace(url: string): void;
}
-// TODO(nayeemrmn): Move this to `op_crates/web` where its implementation is.
+// TODO(nayeemrmn): Move this to `extensions/web` where its implementation is.
// The types there must first be split into window, worker and global types.
declare var location: Location;
diff --git a/cli/dts/lib.deno.worker.d.ts b/cli/dts/lib.deno.worker.d.ts
index 653a8931b..1d1b08a5f 100644
--- a/cli/dts/lib.deno.worker.d.ts
+++ b/cli/dts/lib.deno.worker.d.ts
@@ -71,7 +71,7 @@ declare var close: () => void;
declare var name: string;
declare var postMessage: (message: any) => void;
-// TODO(nayeemrmn): Move this to `op_crates/web` where its implementation is.
+// TODO(nayeemrmn): Move this to `extensions/web` where its implementation is.
// The types there must first be split into window, worker and global types.
/** The absolute location of the script executed by the Worker. Such an object
* is initialized for each worker and is available via the
@@ -90,6 +90,6 @@ declare class WorkerLocation {
readonly search: string;
}
-// TODO(nayeemrmn): Move this to `op_crates/web` where its implementation is.
+// TODO(nayeemrmn): Move this to `extensions/web` where its implementation is.
// The types there must first be split into window, worker and global types.
declare var location: WorkerLocation;
diff --git a/cli/tests/error_009_op_crates_error.js b/cli/tests/error_009_extensions_error.js
index 01b97ea38..01b97ea38 100644
--- a/cli/tests/error_009_op_crates_error.js
+++ b/cli/tests/error_009_extensions_error.js
diff --git a/cli/tests/error_009_op_crates_error.js.out b/cli/tests/error_009_extensions_error.js.out
index 229a0ff1f..96ffb2829 100644
--- a/cli/tests/error_009_op_crates_error.js.out
+++ b/cli/tests/error_009_extensions_error.js.out
@@ -2,5 +2,5 @@
new Event();
^
at [WILDCARD]
- at new Event (deno:op_crates/web/[WILDCARD])
+ at new Event (deno:extensions/web/[WILDCARD])
at [WILDCARD]
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index 9c56396b4..0b7b85ac8 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -3109,9 +3109,9 @@ console.log("finish");
output: "error_008_checkjs.js.out",
});
- itest!(error_009_op_crates_error {
- args: "run error_009_op_crates_error.js",
- output: "error_009_op_crates_error.js.out",
+ itest!(error_009_extensions_error {
+ args: "run error_009_extensions_error.js",
+ output: "error_009_extensions_error.js.out",
exit_code: 1,
});
diff --git a/cli/tests/unit/metrics_test.ts b/cli/tests/unit/metrics_test.ts
index 25c63dbc1..a1936cb1d 100644
--- a/cli/tests/unit/metrics_test.ts
+++ b/cli/tests/unit/metrics_test.ts
@@ -70,7 +70,7 @@ unitTest(
},
);
-// Test that ops from op_crates have metrics (via OpMiddleware)
+// Test that ops from extensions have metrics (via OpMiddleware)
unitTest(function metricsForOpCrates(): void {
const _ = new URL("https://deno.land");