summaryrefslogtreecommitdiff
path: root/tests/specs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs')
-rw-r--r--tests/specs/compile/npmrc_auto_install/deno.json2
-rw-r--r--tests/specs/npm/adding_npm_dep_in_dynamic_import/deno.json2
-rw-r--r--tests/specs/npm/bin_entries_prefer_closer/deno.json2
-rw-r--r--tests/specs/npm/check_prefers_non_types_node_pkg/__test__.jsonc4
-rw-r--r--tests/specs/npm/check_types_in_types_pkg/__test__.jsonc4
-rw-r--r--tests/specs/npm/conditional_exports_node_modules_dir/__test__.jsonc2
-rw-r--r--tests/specs/npm/future_node_modules_dir_setting/__test__.jsonc4
-rw-r--r--tests/specs/npm/lifecycle_scripts/__test__.jsonc4
-rw-r--r--tests/specs/npm/lifecycle_scripts/deno.json2
-rw-r--r--tests/specs/npm/local_dir_no_duplicate_resolution/deno.json2
-rw-r--r--tests/specs/npm/lossy_utf8_script_from_cjs/__test__.jsonc2
-rw-r--r--tests/specs/npm/npmrc/__test__.jsonc2
-rw-r--r--tests/specs/npm/npmrc_tarball_other_server/__test__.jsonc4
-rw-r--r--tests/specs/npm/workspace_basic/__test__.jsonc6
-rw-r--r--tests/specs/npm/workspace_sub_deno_json/non_member/deno.json2
-rw-r--r--tests/specs/npm/workspace_wildcards/__test__.jsonc2
-rw-r--r--tests/specs/publish/package_json/deno.json2
-rw-r--r--tests/specs/task/bin_package/deno.json2
-rw-r--r--tests/specs/task/node_modules_dir_false/deno.json2
19 files changed, 26 insertions, 26 deletions
diff --git a/tests/specs/compile/npmrc_auto_install/deno.json b/tests/specs/compile/npmrc_auto_install/deno.json
index b2edaa035..fbd70ec48 100644
--- a/tests/specs/compile/npmrc_auto_install/deno.json
+++ b/tests/specs/compile/npmrc_auto_install/deno.json
@@ -1,3 +1,3 @@
{
- "nodeModules": "local-auto"
+ "nodeModulesDir": "auto"
}
diff --git a/tests/specs/npm/adding_npm_dep_in_dynamic_import/deno.json b/tests/specs/npm/adding_npm_dep_in_dynamic_import/deno.json
index 27f0b80e7..70897da12 100644
--- a/tests/specs/npm/adding_npm_dep_in_dynamic_import/deno.json
+++ b/tests/specs/npm/adding_npm_dep_in_dynamic_import/deno.json
@@ -1,5 +1,5 @@
{
- "nodeModules": "local-auto",
+ "nodeModulesDir": "auto",
"tasks": {
"cat": "cat",
"rm_node_modules": "rm -rf node_modules"
diff --git a/tests/specs/npm/bin_entries_prefer_closer/deno.json b/tests/specs/npm/bin_entries_prefer_closer/deno.json
index b2edaa035..fbd70ec48 100644
--- a/tests/specs/npm/bin_entries_prefer_closer/deno.json
+++ b/tests/specs/npm/bin_entries_prefer_closer/deno.json
@@ -1,3 +1,3 @@
{
- "nodeModules": "local-auto"
+ "nodeModulesDir": "auto"
}
diff --git a/tests/specs/npm/check_prefers_non_types_node_pkg/__test__.jsonc b/tests/specs/npm/check_prefers_non_types_node_pkg/__test__.jsonc
index fc67a5de4..d2682e161 100644
--- a/tests/specs/npm/check_prefers_non_types_node_pkg/__test__.jsonc
+++ b/tests/specs/npm/check_prefers_non_types_node_pkg/__test__.jsonc
@@ -15,12 +15,12 @@
}]
},
"auto_install": {
- "args": "check --node-modules=local-auto --quiet main.ts",
+ "args": "check --node-modules-dir=auto --quiet main.ts",
"exitCode": 1,
"output": "expected.out"
},
"global_folder": {
- "args": "check --node-modules=global-auto --quiet main.ts",
+ "args": "check --node-modules-dir=none --quiet main.ts",
"exitCode": 1,
"output": "expected.out"
}
diff --git a/tests/specs/npm/check_types_in_types_pkg/__test__.jsonc b/tests/specs/npm/check_types_in_types_pkg/__test__.jsonc
index 9fff27348..3ca5f23d2 100644
--- a/tests/specs/npm/check_types_in_types_pkg/__test__.jsonc
+++ b/tests/specs/npm/check_types_in_types_pkg/__test__.jsonc
@@ -15,12 +15,12 @@
}]
},
"auto_install": {
- "args": "check --node-modules=local-auto --quiet main_auto_install.ts",
+ "args": "check --node-modules-dir=auto --quiet main_auto_install.ts",
"exitCode": 1,
"output": "expected.out"
},
"global_folder": {
- "args": "check --node-modules=global-auto --quiet main_auto_install.ts",
+ "args": "check --node-modules-dir=none --quiet main_auto_install.ts",
"exitCode": 1,
"output": "expected.out"
}
diff --git a/tests/specs/npm/conditional_exports_node_modules_dir/__test__.jsonc b/tests/specs/npm/conditional_exports_node_modules_dir/__test__.jsonc
index 84e26dd47..745b28f4f 100644
--- a/tests/specs/npm/conditional_exports_node_modules_dir/__test__.jsonc
+++ b/tests/specs/npm/conditional_exports_node_modules_dir/__test__.jsonc
@@ -1,5 +1,5 @@
{
"tempDir": true,
- "args": "run --allow-read --node-modules=local-auto main.js",
+ "args": "run --allow-read --node-modules-dir=auto main.js",
"output": "main.out"
}
diff --git a/tests/specs/npm/future_node_modules_dir_setting/__test__.jsonc b/tests/specs/npm/future_node_modules_dir_setting/__test__.jsonc
index bc39e85da..745dc9530 100644
--- a/tests/specs/npm/future_node_modules_dir_setting/__test__.jsonc
+++ b/tests/specs/npm/future_node_modules_dir_setting/__test__.jsonc
@@ -10,11 +10,11 @@
"exitCode": 1
}, {
// this should override byonm
- "args": "run --node-modules=global-auto --quiet main.ts",
+ "args": "run --node-modules-dir=none --quiet main.ts",
"output": "main.out"
}, {
// same with this
- "args": "run --node-modules=local-auto --quiet main.ts",
+ "args": "run --node-modules-dir=auto --quiet main.ts",
"output": "main.out"
}]
}
diff --git a/tests/specs/npm/lifecycle_scripts/__test__.jsonc b/tests/specs/npm/lifecycle_scripts/__test__.jsonc
index 3d322504c..6ea9b8f6e 100644
--- a/tests/specs/npm/lifecycle_scripts/__test__.jsonc
+++ b/tests/specs/npm/lifecycle_scripts/__test__.jsonc
@@ -135,7 +135,7 @@
"output": ""
},
{
- "args": "cache --allow-scripts --node-modules=local-auto no_deno_json.js",
+ "args": "cache --allow-scripts --node-modules-dir=auto no_deno_json.js",
"output": "no_deno_json.out"
}
]
@@ -148,7 +148,7 @@
"output": ""
},
{
- "args": "cache --allow-scripts --node-modules=local-auto conflicting_bin.js",
+ "args": "cache --allow-scripts --node-modules-dir=auto conflicting_bin.js",
"output": "conflicting_bin.out"
}
]
diff --git a/tests/specs/npm/lifecycle_scripts/deno.json b/tests/specs/npm/lifecycle_scripts/deno.json
index b2edaa035..fbd70ec48 100644
--- a/tests/specs/npm/lifecycle_scripts/deno.json
+++ b/tests/specs/npm/lifecycle_scripts/deno.json
@@ -1,3 +1,3 @@
{
- "nodeModules": "local-auto"
+ "nodeModulesDir": "auto"
}
diff --git a/tests/specs/npm/local_dir_no_duplicate_resolution/deno.json b/tests/specs/npm/local_dir_no_duplicate_resolution/deno.json
index 7a51e3d29..fe867fcc8 100644
--- a/tests/specs/npm/local_dir_no_duplicate_resolution/deno.json
+++ b/tests/specs/npm/local_dir_no_duplicate_resolution/deno.json
@@ -1,5 +1,5 @@
{
- "nodeModules": "local-auto",
+ "nodeModulesDir": "auto",
"imports": {
"preact": "npm:preact",
"preact-render-to-string": "npm:preact-render-to-string"
diff --git a/tests/specs/npm/lossy_utf8_script_from_cjs/__test__.jsonc b/tests/specs/npm/lossy_utf8_script_from_cjs/__test__.jsonc
index cfa5a949e..fa00d6b9d 100644
--- a/tests/specs/npm/lossy_utf8_script_from_cjs/__test__.jsonc
+++ b/tests/specs/npm/lossy_utf8_script_from_cjs/__test__.jsonc
@@ -1,5 +1,5 @@
{
- "args": "run --node-modules=local-auto --allow-read main.mjs",
+ "args": "run --node-modules-dir=auto --allow-read main.mjs",
"output": "main.out",
"exitCode": 0,
"tempDir": true
diff --git a/tests/specs/npm/npmrc/__test__.jsonc b/tests/specs/npm/npmrc/__test__.jsonc
index 6378566ae..d45c5944c 100644
--- a/tests/specs/npm/npmrc/__test__.jsonc
+++ b/tests/specs/npm/npmrc/__test__.jsonc
@@ -14,7 +14,7 @@
}]
},
"run_node_modules_dir": {
- "args": "run --node-modules=local-auto -A --quiet main.js",
+ "args": "run --node-modules-dir=auto -A --quiet main.js",
"output": "main.out"
}
}
diff --git a/tests/specs/npm/npmrc_tarball_other_server/__test__.jsonc b/tests/specs/npm/npmrc_tarball_other_server/__test__.jsonc
index b20ca9046..a60339fae 100644
--- a/tests/specs/npm/npmrc_tarball_other_server/__test__.jsonc
+++ b/tests/specs/npm/npmrc_tarball_other_server/__test__.jsonc
@@ -3,13 +3,13 @@
"tests": {
"auth_success": {
"cwd": "success",
- "args": "run --node-modules=local-auto -A main.js",
+ "args": "run --node-modules-dir=auto -A main.js",
"output": "success/main.out",
"exitCode": 1
},
"auth_fail": {
"cwd": "fail",
- "args": "run --node-modules=local-auto -A main.js",
+ "args": "run --node-modules-dir=auto -A main.js",
"output": "fail/main.out",
"exitCode": 1
}
diff --git a/tests/specs/npm/workspace_basic/__test__.jsonc b/tests/specs/npm/workspace_basic/__test__.jsonc
index 768c193fc..763f10649 100644
--- a/tests/specs/npm/workspace_basic/__test__.jsonc
+++ b/tests/specs/npm/workspace_basic/__test__.jsonc
@@ -2,15 +2,15 @@
"tempDir": true,
"tests": {
"global_cache": {
- "args": "run --node-modules=global-auto b/main.ts",
+ "args": "run --node-modules-dir=none b/main.ts",
"output": "b/main_global_cache.out"
},
"global_cache_bare_specifier_not_in_pkg": {
- "args": "run --node-modules=global-auto main.ts",
+ "args": "run --node-modules-dir=none main.ts",
"output": "main.out"
},
"node_modules_dir": {
- "args": "run --node-modules=local-auto b/main.ts",
+ "args": "run --node-modules-dir=auto b/main.ts",
"output": "b/main_node_modules_dir.out"
},
"byonm": {
diff --git a/tests/specs/npm/workspace_sub_deno_json/non_member/deno.json b/tests/specs/npm/workspace_sub_deno_json/non_member/deno.json
index b2edaa035..fbd70ec48 100644
--- a/tests/specs/npm/workspace_sub_deno_json/non_member/deno.json
+++ b/tests/specs/npm/workspace_sub_deno_json/non_member/deno.json
@@ -1,3 +1,3 @@
{
- "nodeModules": "local-auto"
+ "nodeModulesDir": "auto"
}
diff --git a/tests/specs/npm/workspace_wildcards/__test__.jsonc b/tests/specs/npm/workspace_wildcards/__test__.jsonc
index cefc307a6..6067beb51 100644
--- a/tests/specs/npm/workspace_wildcards/__test__.jsonc
+++ b/tests/specs/npm/workspace_wildcards/__test__.jsonc
@@ -1,4 +1,4 @@
{
- "args": "run --node-modules=global-auto main.ts",
+ "args": "run --node-modules-dir=none main.ts",
"output": "main.out"
}
diff --git a/tests/specs/publish/package_json/deno.json b/tests/specs/publish/package_json/deno.json
index 00e8db5a8..949be1f27 100644
--- a/tests/specs/publish/package_json/deno.json
+++ b/tests/specs/publish/package_json/deno.json
@@ -4,5 +4,5 @@
"exports": {
".": "./mod.ts"
},
- "nodeModules": "global-auto"
+ "nodeModulesDir": "none"
}
diff --git a/tests/specs/task/bin_package/deno.json b/tests/specs/task/bin_package/deno.json
index b2edaa035..fbd70ec48 100644
--- a/tests/specs/task/bin_package/deno.json
+++ b/tests/specs/task/bin_package/deno.json
@@ -1,3 +1,3 @@
{
- "nodeModules": "local-auto"
+ "nodeModulesDir": "auto"
}
diff --git a/tests/specs/task/node_modules_dir_false/deno.json b/tests/specs/task/node_modules_dir_false/deno.json
index c11dfbbba..ac5f8ba14 100644
--- a/tests/specs/task/node_modules_dir_false/deno.json
+++ b/tests/specs/task/node_modules_dir_false/deno.json
@@ -1,5 +1,5 @@
{
- "nodeModules": "local-auto",
+ "nodeModulesDir": "auto",
"tasks": {
"repro": "echo hi"
}