summaryrefslogtreecommitdiff
path: root/tests/specs/install
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/install')
-rw-r--r--tests/specs/install/no_future_install_global/__test__.jsonc13
-rw-r--r--tests/specs/install/no_future_install_global/assert.js11
-rw-r--r--tests/specs/install/no_future_install_global/install.out6
-rw-r--r--tests/specs/install/no_future_install_global/pkg/main.js3
-rw-r--r--tests/specs/install/no_future_install_global/pkg/package.json6
5 files changed, 0 insertions, 39 deletions
diff --git a/tests/specs/install/no_future_install_global/__test__.jsonc b/tests/specs/install/no_future_install_global/__test__.jsonc
deleted file mode 100644
index 657cdab80..000000000
--- a/tests/specs/install/no_future_install_global/__test__.jsonc
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "tempDir": true,
- "steps": [
- {
- "args": "install --root ./bins --name deno-test-bin ./pkg/main.js",
- "output": "install.out"
- },
- {
- "args": "run -A ./assert.js",
- "output": ""
- }
- ]
-}
diff --git a/tests/specs/install/no_future_install_global/assert.js b/tests/specs/install/no_future_install_global/assert.js
deleted file mode 100644
index c7a6a0680..000000000
--- a/tests/specs/install/no_future_install_global/assert.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const dirs = Deno.readDir("./bins/bin");
-
-let found = false;
-for await (const entry of dirs) {
- if (entry.name.includes("deno-test-bin")) {
- found = true;
- }
-}
-if (!found) {
- throw new Error("Failed to find test bin");
-}
diff --git a/tests/specs/install/no_future_install_global/install.out b/tests/specs/install/no_future_install_global/install.out
deleted file mode 100644
index b1933f536..000000000
--- a/tests/specs/install/no_future_install_global/install.out
+++ /dev/null
@@ -1,6 +0,0 @@
-⚠️ `deno install` behavior will change in Deno 2. To preserve the current behavior use the `-g` or `--global` flag.
-Download http://localhost:4260/@denotest/esm-basic
-Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz
-[# there shouldn't be a line saying it initialized the node_modules folder here because this is a global install]
-✅ Successfully installed deno-test-bin[WILDCARD]
-[WILDCARD]
diff --git a/tests/specs/install/no_future_install_global/pkg/main.js b/tests/specs/install/no_future_install_global/pkg/main.js
deleted file mode 100644
index 6268d7136..000000000
--- a/tests/specs/install/no_future_install_global/pkg/main.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import { setValue } from "npm:@denotest/esm-basic";
-
-setValue(5);
diff --git a/tests/specs/install/no_future_install_global/pkg/package.json b/tests/specs/install/no_future_install_global/pkg/package.json
deleted file mode 100644
index 9f465ad50..000000000
--- a/tests/specs/install/no_future_install_global/pkg/package.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "name": "deno-test-bin",
- "dependencies": {
- "@denotest/esm-basic": "*"
- }
-}