diff options
Diffstat (limited to 'cli/tests/testdata/npm/registry/@denotest/child-process-fork')
3 files changed, 0 insertions, 27 deletions
diff --git a/cli/tests/testdata/npm/registry/@denotest/child-process-fork/1.0.0/forked_path.js b/cli/tests/testdata/npm/registry/@denotest/child-process-fork/1.0.0/forked_path.js deleted file mode 100644 index aaa106315..000000000 --- a/cli/tests/testdata/npm/registry/@denotest/child-process-fork/1.0.0/forked_path.js +++ /dev/null @@ -1,3 +0,0 @@ -const chalk = require("chalk"); - -console.log(typeof chalk.green); diff --git a/cli/tests/testdata/npm/registry/@denotest/child-process-fork/1.0.0/index.js b/cli/tests/testdata/npm/registry/@denotest/child-process-fork/1.0.0/index.js deleted file mode 100644 index 0482be404..000000000 --- a/cli/tests/testdata/npm/registry/@denotest/child-process-fork/1.0.0/index.js +++ /dev/null @@ -1,20 +0,0 @@ -const path = require("path"); - -function childProcessFork(path) { - const command = new Deno.Command(Deno.execPath(), { - args: ["run", "-A", path], - env: { - "DENO_DONT_USE_INTERNAL_NODE_COMPAT_STATE": Deno[Deno.internal].core.ops.op_npm_process_state(), - } - }); - const child = command.spawn(); - child.status.then(() => { - console.log("Done."); - }); -} - -module.exports = { - run() { - childProcessFork(path.join(__dirname, "forked_path.js")); - } -}; diff --git a/cli/tests/testdata/npm/registry/@denotest/child-process-fork/1.0.0/package.json b/cli/tests/testdata/npm/registry/@denotest/child-process-fork/1.0.0/package.json deleted file mode 100644 index 9ab14e3f7..000000000 --- a/cli/tests/testdata/npm/registry/@denotest/child-process-fork/1.0.0/package.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "@denotest/child-process-fork", - "version": "1.0.0" -} |