summaryrefslogtreecommitdiff
path: root/tests/testdata/run/warn_on_deprecated_api/main.js
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-09-05 08:45:55 +1000
committerGitHub <noreply@github.com>2024-09-05 08:45:55 +1000
commit195b17ae1298f80209e3c2c5ef4d133e6975ff58 (patch)
treef9a059722830aa408ecd8f9f7e63180455eb14aa /tests/testdata/run/warn_on_deprecated_api/main.js
parentc32d692a8f37c50fd700bb320571f76a107a44c2 (diff)
BREAKING(types): soft-remove `Deno.run()` (#25403)
Towards #22079
Diffstat (limited to 'tests/testdata/run/warn_on_deprecated_api/main.js')
-rw-r--r--tests/testdata/run/warn_on_deprecated_api/main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testdata/run/warn_on_deprecated_api/main.js b/tests/testdata/run/warn_on_deprecated_api/main.js
index a464be60a..8811df78d 100644
--- a/tests/testdata/run/warn_on_deprecated_api/main.js
+++ b/tests/testdata/run/warn_on_deprecated_api/main.js
@@ -1,5 +1,6 @@
import { runEcho as runEcho2 } from "http://localhost:4545/run/warn_on_deprecated_api/mod.ts";
+// @ts-ignore `Deno.run()` was soft-removed in Deno 2.
const p = Deno.run({
cmd: [
Deno.execPath(),
@@ -11,6 +12,7 @@ await p.status();
p.close();
async function runEcho() {
+ // @ts-ignore `Deno.run()` was soft-removed in Deno 2.
const p = Deno.run({
cmd: [
Deno.execPath(),