diff options
Diffstat (limited to 'cli/tests/testdata/run/warn_on_deprecated_api/main.js')
-rw-r--r-- | cli/tests/testdata/run/warn_on_deprecated_api/main.js | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/cli/tests/testdata/run/warn_on_deprecated_api/main.js b/cli/tests/testdata/run/warn_on_deprecated_api/main.js deleted file mode 100644 index a464be60a..000000000 --- a/cli/tests/testdata/run/warn_on_deprecated_api/main.js +++ /dev/null @@ -1,32 +0,0 @@ -import { runEcho as runEcho2 } from "http://localhost:4545/run/warn_on_deprecated_api/mod.ts"; - -const p = Deno.run({ - cmd: [ - Deno.execPath(), - "eval", - "console.log('hello world')", - ], -}); -await p.status(); -p.close(); - -async function runEcho() { - const p = Deno.run({ - cmd: [ - Deno.execPath(), - "eval", - "console.log('hello world')", - ], - }); - await p.status(); - p.close(); -} - -await runEcho(); -await runEcho(); - -for (let i = 0; i < 10; i++) { - await runEcho(); -} - -await runEcho2(); |