summaryrefslogtreecommitdiff
path: root/tests/specs/npm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/npm')
-rw-r--r--tests/specs/npm/builtin_module_module/__test__.jsonc6
-rw-r--r--tests/specs/npm/cached_only/__test__.jsonc4
-rw-r--r--tests/specs/npm/check_all/__test__.jsonc4
-rw-r--r--tests/specs/npm/check_local/__test__.jsonc4
-rw-r--r--tests/specs/npm/check_package_file_dts_dmts_dcts/__test__.jsonc4
-rw-r--r--tests/specs/npm/child_process_fork_test/__test__.jsonc6
-rw-r--r--tests/specs/npm/cjs_invalid_name_exports/__test__.jsonc6
-rw-r--r--tests/specs/npm/cjs_local_global_decls/__test__.jsonc6
-rw-r--r--tests/specs/npm/cjs_module_export_assignment/__test__.jsonc6
-rw-r--r--tests/specs/npm/cjs_module_export_assignment_number/__test__.jsonc6
-rw-r--r--tests/specs/npm/cjs_pkg_imports/__test__.jsonc6
-rw-r--r--tests/specs/npm/cjs_reexport_collision/__test__.jsonc6
-rw-r--r--tests/specs/npm/cjs_require_esm/__test__.jsonc6
-rw-r--r--tests/specs/npm/cjs_require_esm_mjs/__test__.jsonc6
-rw-r--r--tests/specs/npm/cjs_sub_path/__test__.jsonc6
-rw-r--r--tests/specs/npm/cjs_this_in_exports/__test__.jsonc4
-rw-r--r--tests/specs/npm/cjs_with_deps/__test__.jsonc6
-rw-r--r--tests/specs/npm/compare_globals/__test__.jsonc6
-rw-r--r--tests/specs/npm/create_require/__test__.jsonc6
-rw-r--r--tests/specs/npm/deno_cache/__test__.jsonc6
-rw-r--r--tests/specs/npm/deno_run_bin_cjs/__test__.jsonc6
-rw-r--r--tests/specs/npm/deno_run_bin_cjs_no_bin_entrypoint/__test__.jsonc6
-rw-r--r--tests/specs/npm/deno_run_bin_esm/__test__.jsonc6
-rw-r--r--tests/specs/npm/deno_run_bin_esm_no_bin_entrypoint/__test__.jsonc6
-rw-r--r--tests/specs/npm/deno_run_bin_no_ext/__test__.jsonc6
-rw-r--r--tests/specs/npm/deno_run_bin_special_chars/__test__.jsonc6
-rw-r--r--tests/specs/npm/deno_run_cowsay/__test__.jsonc6
-rw-r--r--tests/specs/npm/deno_run_cowsay_explicit/__test__.jsonc6
-rw-r--r--tests/specs/npm/deno_run_cowsay_with_node_modules_dir/__test__.jsonc6
-rw-r--r--tests/specs/npm/deno_run_cowthink/__test__.jsonc6
-rw-r--r--tests/specs/npm/deno_run_no_bin_entrypoint/__test__.jsonc4
-rw-r--r--tests/specs/npm/deno_run_no_bin_entrypoint_non_existent_subpath/__test__.jsonc4
-rw-r--r--tests/specs/npm/deno_run_non_existent/__test__.jsonc4
-rw-r--r--tests/specs/npm/different_nested_dep_node_modules_dir_false/__test__.jsonc4
-rw-r--r--tests/specs/npm/different_nested_dep_node_modules_dir_true/__test__.jsonc4
-rw-r--r--tests/specs/npm/directory_import_folder_index_js/__test__.jsonc4
-rw-r--r--tests/specs/npm/directory_import_folder_no_index/__test__.jsonc4
-rw-r--r--tests/specs/npm/dual_cjs_esm/__test__.jsonc6
-rw-r--r--tests/specs/npm/dynamic_import_deno_ts_from_npm/__test__.jsonc6
-rw-r--r--tests/specs/npm/dynamic_import_invalid_package_name/__test__.jsonc6
-rw-r--r--tests/specs/npm/dynamic_import_json/__test__.jsonc6
-rw-r--r--tests/specs/npm/dynamic_import_reload_same_package/__test__.jsonc6
-rw-r--r--tests/specs/npm/env_var_re_export_dev/__test__.jsonc6
-rw-r--r--tests/specs/npm/env_var_re_export_prod/__test__.jsonc2
-rw-r--r--tests/specs/npm/error_version_after_subpath/__test__.jsonc4
-rw-r--r--tests/specs/npm/import_json/__test__.jsonc6
-rw-r--r--tests/specs/npm/import_map/__test__.jsonc6
-rw-r--r--tests/specs/npm/imports_package_json/__test__.jsonc6
-rw-r--r--tests/specs/npm/imports_package_json_import_not_defined/__test__.jsonc4
-rw-r--r--tests/specs/npm/imports_package_json_sub_path_import_not_defined/__test__.jsonc4
-rw-r--r--tests/specs/npm/info_chalk_display/__test__.jsonc6
-rw-r--r--tests/specs/npm/info_chalk_display_node_modules_dir/__test__.jsonc6
-rw-r--r--tests/specs/npm/info_chalk_json/__test__.jsonc6
-rw-r--r--tests/specs/npm/info_chalk_json_node_modules_dir/__test__.jsonc6
-rw-r--r--tests/specs/npm/info_cli_chalk_display/__test__.jsonc6
-rw-r--r--tests/specs/npm/info_cli_chalk_json/__test__.jsonc6
-rw-r--r--tests/specs/npm/info_peer_deps/__test__.jsonc6
-rw-r--r--tests/specs/npm/info_peer_deps_json/__test__.jsonc6
-rw-r--r--tests/specs/npm/mixed_case_package_name_global_dir/__test__.jsonc6
-rw-r--r--tests/specs/npm/mixed_case_package_name_local_dir/__test__.jsonc6
-rw-r--r--tests/specs/npm/node_modules_deno_node_modules/__test__.jsonc6
-rw-r--r--tests/specs/npm/node_modules_deno_node_modules_local/__test__.jsonc6
-rw-r--r--tests/specs/npm/node_modules_dir_require_added_node_modules_folder/__test__.jsonc4
-rw-r--r--tests/specs/npm/node_modules_dir_require_main_entry/__test__.jsonc4
-rw-r--r--tests/specs/npm/node_modules_dir_with_deps/__test__.jsonc6
-rw-r--r--tests/specs/npm/node_modules_dir_yargs/__test__.jsonc6
-rw-r--r--tests/specs/npm/non_existent_dep/__test__.jsonc4
-rw-r--r--tests/specs/npm/non_existent_dep_version/__test__.jsonc4
-rw-r--r--tests/specs/npm/nonexistent_file/__test__.jsonc4
-rw-r--r--tests/specs/npm/nonexistent_file_node_modules_dir/__test__.jsonc4
-rw-r--r--tests/specs/npm/permissions_outside_package/__test__.jsonc6
-rw-r--r--tests/specs/npm/remote_npm_specifier/__test__.jsonc4
-rw-r--r--tests/specs/npm/require_json/__test__.jsonc6
-rw-r--r--tests/specs/npm/reserved_word_exports/__test__.jsonc6
-rw-r--r--tests/specs/npm/run_existing_npm_package_with_subpath/__test__.jsonc6
-rw-r--r--tests/specs/npm/sub_paths/__test__.jsonc6
-rw-r--r--tests/specs/npm/tarball_with_global_header/__test__.jsonc6
-rw-r--r--tests/specs/npm/translate_cjs_to_esm/__test__.jsonc6
-rw-r--r--tests/specs/npm/types_ambient_module/__test__.jsonc4
-rw-r--r--tests/specs/npm/types_ambient_module_import_map/__test__.jsonc4
-rw-r--r--tests/specs/npm/types_d_ext/__test__.jsonc6
-rw-r--r--tests/specs/npm/types_entry_value_not_exists/__test__.jsonc4
-rw-r--r--tests/specs/npm/types_exports_import_types/__test__.jsonc4
-rw-r--r--tests/specs/npm/types_no_types_entry/__test__.jsonc4
-rw-r--r--tests/specs/npm/typescript_file_in_package/__test__.jsonc4
85 files changed, 56 insertions, 394 deletions
diff --git a/tests/specs/npm/builtin_module_module/__test__.jsonc b/tests/specs/npm/builtin_module_module/__test__.jsonc
index 2f26a95d4..eb211eda1 100644
--- a/tests/specs/npm/builtin_module_module/__test__.jsonc
+++ b/tests/specs/npm/builtin_module_module/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run --allow-read --quiet builtin_module_module/main.js",
- "output": "builtin_module_module/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "builtin_module_module/main.out"
}
diff --git a/tests/specs/npm/cached_only/__test__.jsonc b/tests/specs/npm/cached_only/__test__.jsonc
index 764f702d2..b2190d110 100644
--- a/tests/specs/npm/cached_only/__test__.jsonc
+++ b/tests/specs/npm/cached_only/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run --cached-only cached_only/main.ts",
"output": "cached_only/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/check_all/__test__.jsonc b/tests/specs/npm/check_all/__test__.jsonc
index 427524305..e78f7e67d 100644
--- a/tests/specs/npm/check_all/__test__.jsonc
+++ b/tests/specs/npm/check_all/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "check --all check_errors/main.ts",
"output": "check_errors/main_all.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/check_local/__test__.jsonc b/tests/specs/npm/check_local/__test__.jsonc
index 1bffa5eed..2cf3ae5ef 100644
--- a/tests/specs/npm/check_local/__test__.jsonc
+++ b/tests/specs/npm/check_local/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "check check_errors/main.ts",
"output": "check_errors/main_local.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/check_package_file_dts_dmts_dcts/__test__.jsonc b/tests/specs/npm/check_package_file_dts_dmts_dcts/__test__.jsonc
index 675051a69..5caaa23aa 100644
--- a/tests/specs/npm/check_package_file_dts_dmts_dcts/__test__.jsonc
+++ b/tests/specs/npm/check_package_file_dts_dmts_dcts/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "check file_dts_dmts_dcts/main.ts",
"output": "file_dts_dmts_dcts/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/child_process_fork_test/__test__.jsonc b/tests/specs/npm/child_process_fork_test/__test__.jsonc
index f83cb051e..a4bdf0c92 100644
--- a/tests/specs/npm/child_process_fork_test/__test__.jsonc
+++ b/tests/specs/npm/child_process_fork_test/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet child_process_fork_test/main.ts",
- "output": "child_process_fork_test/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "child_process_fork_test/main.out"
}
diff --git a/tests/specs/npm/cjs_invalid_name_exports/__test__.jsonc b/tests/specs/npm/cjs_invalid_name_exports/__test__.jsonc
index a38b8d035..1d66adbd2 100644
--- a/tests/specs/npm/cjs_invalid_name_exports/__test__.jsonc
+++ b/tests/specs/npm/cjs_invalid_name_exports/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run --allow-read --quiet cjs-invalid-name-exports/main.ts",
- "output": "cjs-invalid-name-exports/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "cjs-invalid-name-exports/main.out"
}
diff --git a/tests/specs/npm/cjs_local_global_decls/__test__.jsonc b/tests/specs/npm/cjs_local_global_decls/__test__.jsonc
index 8bf847873..6a42f26e6 100644
--- a/tests/specs/npm/cjs_local_global_decls/__test__.jsonc
+++ b/tests/specs/npm/cjs_local_global_decls/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run --allow-read cjs_local_global_decls/main.ts",
- "output": "cjs_local_global_decls/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "cjs_local_global_decls/main.out"
}
diff --git a/tests/specs/npm/cjs_module_export_assignment/__test__.jsonc b/tests/specs/npm/cjs_module_export_assignment/__test__.jsonc
index e9be6361a..3a8c104ab 100644
--- a/tests/specs/npm/cjs_module_export_assignment/__test__.jsonc
+++ b/tests/specs/npm/cjs_module_export_assignment/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet --check=all cjs_module_export_assignment/main.ts",
- "output": "cjs_module_export_assignment/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "cjs_module_export_assignment/main.out"
}
diff --git a/tests/specs/npm/cjs_module_export_assignment_number/__test__.jsonc b/tests/specs/npm/cjs_module_export_assignment_number/__test__.jsonc
index d70f82e50..1b44f98c3 100644
--- a/tests/specs/npm/cjs_module_export_assignment_number/__test__.jsonc
+++ b/tests/specs/npm/cjs_module_export_assignment_number/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet --check=all cjs_module_export_assignment_number/main.ts",
- "output": "cjs_module_export_assignment_number/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "cjs_module_export_assignment_number/main.out"
}
diff --git a/tests/specs/npm/cjs_pkg_imports/__test__.jsonc b/tests/specs/npm/cjs_pkg_imports/__test__.jsonc
index c51f14b56..0ab9d873d 100644
--- a/tests/specs/npm/cjs_pkg_imports/__test__.jsonc
+++ b/tests/specs/npm/cjs_pkg_imports/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A cjs_pkg_imports/main.ts",
- "output": "cjs_pkg_imports/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "cjs_pkg_imports/main.out"
}
diff --git a/tests/specs/npm/cjs_reexport_collision/__test__.jsonc b/tests/specs/npm/cjs_reexport_collision/__test__.jsonc
index 0b9d1e621..582b2c957 100644
--- a/tests/specs/npm/cjs_reexport_collision/__test__.jsonc
+++ b/tests/specs/npm/cjs_reexport_collision/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet cjs_reexport_collision/main.ts",
- "output": "cjs_reexport_collision/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "cjs_reexport_collision/main.out"
}
diff --git a/tests/specs/npm/cjs_require_esm/__test__.jsonc b/tests/specs/npm/cjs_require_esm/__test__.jsonc
index 172f1ca65..b4e03afa3 100644
--- a/tests/specs/npm/cjs_require_esm/__test__.jsonc
+++ b/tests/specs/npm/cjs_require_esm/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run --allow-read --quiet cjs_require_esm/main.ts",
- "output": "cjs_require_esm/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "cjs_require_esm/main.out"
}
diff --git a/tests/specs/npm/cjs_require_esm_mjs/__test__.jsonc b/tests/specs/npm/cjs_require_esm_mjs/__test__.jsonc
index 3a1323127..6bcb382e8 100644
--- a/tests/specs/npm/cjs_require_esm_mjs/__test__.jsonc
+++ b/tests/specs/npm/cjs_require_esm_mjs/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run --allow-read --quiet cjs_require_esm_mjs/main.ts",
- "output": "cjs_require_esm_mjs/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "cjs_require_esm_mjs/main.out"
}
diff --git a/tests/specs/npm/cjs_sub_path/__test__.jsonc b/tests/specs/npm/cjs_sub_path/__test__.jsonc
index dbec76a13..6a22c1764 100644
--- a/tests/specs/npm/cjs_sub_path/__test__.jsonc
+++ b/tests/specs/npm/cjs_sub_path/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run --allow-read cjs_sub_path/main.js",
- "output": "cjs_sub_path/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "cjs_sub_path/main.out"
}
diff --git a/tests/specs/npm/cjs_this_in_exports/__test__.jsonc b/tests/specs/npm/cjs_this_in_exports/__test__.jsonc
index 251691ca8..f3b598581 100644
--- a/tests/specs/npm/cjs_this_in_exports/__test__.jsonc
+++ b/tests/specs/npm/cjs_this_in_exports/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run --allow-read --quiet cjs_this_in_exports/main.js",
"output": "cjs_this_in_exports/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/cjs_with_deps/__test__.jsonc b/tests/specs/npm/cjs_with_deps/__test__.jsonc
index d9014f102..e79fda5c7 100644
--- a/tests/specs/npm/cjs_with_deps/__test__.jsonc
+++ b/tests/specs/npm/cjs_with_deps/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run --allow-read --allow-env cjs_with_deps/main.js",
- "output": "cjs_with_deps/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "cjs_with_deps/main.out"
}
diff --git a/tests/specs/npm/compare_globals/__test__.jsonc b/tests/specs/npm/compare_globals/__test__.jsonc
index d86a76dbc..e096ddeb2 100644
--- a/tests/specs/npm/compare_globals/__test__.jsonc
+++ b/tests/specs/npm/compare_globals/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run --allow-read --check=all compare_globals/main.ts",
- "output": "compare_globals/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "compare_globals/main.out"
}
diff --git a/tests/specs/npm/create_require/__test__.jsonc b/tests/specs/npm/create_require/__test__.jsonc
index 40d9ce066..901a977d7 100644
--- a/tests/specs/npm/create_require/__test__.jsonc
+++ b/tests/specs/npm/create_require/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run --reload --allow-read create_require/main.ts",
"output": "create_require/main.out",
- "exitCode": 0,
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "exitCode": 0
}
diff --git a/tests/specs/npm/deno_cache/__test__.jsonc b/tests/specs/npm/deno_cache/__test__.jsonc
index 93b204c03..302b25e41 100644
--- a/tests/specs/npm/deno_cache/__test__.jsonc
+++ b/tests/specs/npm/deno_cache/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "cache --reload npm:chalk npm:mkdirp",
- "output": "deno_cache.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "deno_cache.out"
}
diff --git a/tests/specs/npm/deno_run_bin_cjs/__test__.jsonc b/tests/specs/npm/deno_run_bin_cjs/__test__.jsonc
index 9eb8e9bfe..cd4bcb119 100644
--- a/tests/specs/npm/deno_run_bin_cjs/__test__.jsonc
+++ b/tests/specs/npm/deno_run_bin_cjs/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet npm:@denotest/bin/cli-cjs this is a test",
- "output": "deno_run_cjs.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "deno_run_cjs.out"
}
diff --git a/tests/specs/npm/deno_run_bin_cjs_no_bin_entrypoint/__test__.jsonc b/tests/specs/npm/deno_run_bin_cjs_no_bin_entrypoint/__test__.jsonc
index 6ee5a326b..0e86d9974 100644
--- a/tests/specs/npm/deno_run_bin_cjs_no_bin_entrypoint/__test__.jsonc
+++ b/tests/specs/npm/deno_run_bin_cjs_no_bin_entrypoint/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet npm:@denotest/bin@0.6.0/cli-cjs.js this is a test",
- "output": "deno_run_cjs.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "deno_run_cjs.out"
}
diff --git a/tests/specs/npm/deno_run_bin_esm/__test__.jsonc b/tests/specs/npm/deno_run_bin_esm/__test__.jsonc
index fc48451bb..828cf6b0d 100644
--- a/tests/specs/npm/deno_run_bin_esm/__test__.jsonc
+++ b/tests/specs/npm/deno_run_bin_esm/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet npm:@denotest/bin/cli-esm this is a test",
- "output": "deno_run_esm.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "deno_run_esm.out"
}
diff --git a/tests/specs/npm/deno_run_bin_esm_no_bin_entrypoint/__test__.jsonc b/tests/specs/npm/deno_run_bin_esm_no_bin_entrypoint/__test__.jsonc
index 956755b30..c2c0117f7 100644
--- a/tests/specs/npm/deno_run_bin_esm_no_bin_entrypoint/__test__.jsonc
+++ b/tests/specs/npm/deno_run_bin_esm_no_bin_entrypoint/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet npm:@denotest/bin@0.6.0/cli.mjs this is a test",
- "output": "deno_run_esm.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "deno_run_esm.out"
}
diff --git a/tests/specs/npm/deno_run_bin_no_ext/__test__.jsonc b/tests/specs/npm/deno_run_bin_no_ext/__test__.jsonc
index 71877b399..3f5cc3f2a 100644
--- a/tests/specs/npm/deno_run_bin_no_ext/__test__.jsonc
+++ b/tests/specs/npm/deno_run_bin_no_ext/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet npm:@denotest/bin/cli-no-ext this is a test",
- "output": "deno_run_no_ext.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "deno_run_no_ext.out"
}
diff --git a/tests/specs/npm/deno_run_bin_special_chars/__test__.jsonc b/tests/specs/npm/deno_run_bin_special_chars/__test__.jsonc
index c3e14c0b7..23a339349 100644
--- a/tests/specs/npm/deno_run_bin_special_chars/__test__.jsonc
+++ b/tests/specs/npm/deno_run_bin_special_chars/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet npm:@denotest/special-chars-in-bin-name/\\foo\" this is a test",
- "output": "deno_run_special_chars_in_bin_name.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "deno_run_special_chars_in_bin_name.out"
}
diff --git a/tests/specs/npm/deno_run_cowsay/__test__.jsonc b/tests/specs/npm/deno_run_cowsay/__test__.jsonc
index 0015b88be..36a677534 100644
--- a/tests/specs/npm/deno_run_cowsay/__test__.jsonc
+++ b/tests/specs/npm/deno_run_cowsay/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet npm:cowsay@1.5.0 Hello",
- "output": "deno_run_cowsay.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "deno_run_cowsay.out"
}
diff --git a/tests/specs/npm/deno_run_cowsay_explicit/__test__.jsonc b/tests/specs/npm/deno_run_cowsay_explicit/__test__.jsonc
index 1ecce925e..a515fd16c 100644
--- a/tests/specs/npm/deno_run_cowsay_explicit/__test__.jsonc
+++ b/tests/specs/npm/deno_run_cowsay_explicit/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet npm:cowsay@1.5.0/cowsay Hello",
- "output": "deno_run_cowsay.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "deno_run_cowsay.out"
}
diff --git a/tests/specs/npm/deno_run_cowsay_with_node_modules_dir/__test__.jsonc b/tests/specs/npm/deno_run_cowsay_with_node_modules_dir/__test__.jsonc
index d2c95f072..fdc0a7da1 100644
--- a/tests/specs/npm/deno_run_cowsay_with_node_modules_dir/__test__.jsonc
+++ b/tests/specs/npm/deno_run_cowsay_with_node_modules_dir/__test__.jsonc
@@ -1,9 +1,5 @@
{
"tempDir": true,
"args": "run -A --quiet --node-modules-dir npm:cowsay@1.5.0 Hello",
- "output": "deno_run_cowsay.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "deno_run_cowsay.out"
}
diff --git a/tests/specs/npm/deno_run_cowthink/__test__.jsonc b/tests/specs/npm/deno_run_cowthink/__test__.jsonc
index 2acc84e7b..622c0a51c 100644
--- a/tests/specs/npm/deno_run_cowthink/__test__.jsonc
+++ b/tests/specs/npm/deno_run_cowthink/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet npm:cowsay@1.5.0/cowthink Hello",
- "output": "deno_run_cowthink.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "deno_run_cowthink.out"
}
diff --git a/tests/specs/npm/deno_run_no_bin_entrypoint/__test__.jsonc b/tests/specs/npm/deno_run_no_bin_entrypoint/__test__.jsonc
index 5331ec9c4..43a2701f1 100644
--- a/tests/specs/npm/deno_run_no_bin_entrypoint/__test__.jsonc
+++ b/tests/specs/npm/deno_run_no_bin_entrypoint/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run -A --quiet npm:@denotest/esm-basic",
"output": "deno_run_no_bin_entrypoint.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/deno_run_no_bin_entrypoint_non_existent_subpath/__test__.jsonc b/tests/specs/npm/deno_run_no_bin_entrypoint_non_existent_subpath/__test__.jsonc
index 3eaa8274c..94b12f2b4 100644
--- a/tests/specs/npm/deno_run_no_bin_entrypoint_non_existent_subpath/__test__.jsonc
+++ b/tests/specs/npm/deno_run_no_bin_entrypoint_non_existent_subpath/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run -A --quiet npm:@denotest/esm-basic/non-existent.js",
"output": "deno_run_no_bin_entrypoint_non_existent_subpath.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/deno_run_non_existent/__test__.jsonc b/tests/specs/npm/deno_run_non_existent/__test__.jsonc
index 72dc01450..d112c9669 100644
--- a/tests/specs/npm/deno_run_non_existent/__test__.jsonc
+++ b/tests/specs/npm/deno_run_non_existent/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run npm:mkdirp@0.5.125",
"output": "deno_run_non_existent.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/different_nested_dep_node_modules_dir_false/__test__.jsonc b/tests/specs/npm/different_nested_dep_node_modules_dir_false/__test__.jsonc
index 24587d928..07db0a1ac 100644
--- a/tests/specs/npm/different_nested_dep_node_modules_dir_false/__test__.jsonc
+++ b/tests/specs/npm/different_nested_dep_node_modules_dir_false/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run --quiet --no-lock --node-modules-dir=none different_nested_dep/main.js",
"output": "different_nested_dep/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 0
}
diff --git a/tests/specs/npm/different_nested_dep_node_modules_dir_true/__test__.jsonc b/tests/specs/npm/different_nested_dep_node_modules_dir_true/__test__.jsonc
index a5c40cdd9..7fd130e50 100644
--- a/tests/specs/npm/different_nested_dep_node_modules_dir_true/__test__.jsonc
+++ b/tests/specs/npm/different_nested_dep_node_modules_dir_true/__test__.jsonc
@@ -2,9 +2,5 @@
"tempDir": true,
"args": "run --no-lock --quiet --node-modules-dir=auto different_nested_dep/main.js",
"output": "different_nested_dep/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 0
}
diff --git a/tests/specs/npm/directory_import_folder_index_js/__test__.jsonc b/tests/specs/npm/directory_import_folder_index_js/__test__.jsonc
index 8eb6226d6..b3f7b64cb 100644
--- a/tests/specs/npm/directory_import_folder_index_js/__test__.jsonc
+++ b/tests/specs/npm/directory_import_folder_index_js/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run directory_import/folder_index_js.ts",
"output": "directory_import/folder_index_js.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/directory_import_folder_no_index/__test__.jsonc b/tests/specs/npm/directory_import_folder_no_index/__test__.jsonc
index 613747998..e0bb868ad 100644
--- a/tests/specs/npm/directory_import_folder_no_index/__test__.jsonc
+++ b/tests/specs/npm/directory_import_folder_no_index/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run directory_import/folder_no_index.ts",
"output": "directory_import/folder_no_index.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/dual_cjs_esm/__test__.jsonc b/tests/specs/npm/dual_cjs_esm/__test__.jsonc
index 5ace51cec..f2b0d694e 100644
--- a/tests/specs/npm/dual_cjs_esm/__test__.jsonc
+++ b/tests/specs/npm/dual_cjs_esm/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet dual_cjs_esm/main.ts",
- "output": "dual_cjs_esm/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "dual_cjs_esm/main.out"
}
diff --git a/tests/specs/npm/dynamic_import_deno_ts_from_npm/__test__.jsonc b/tests/specs/npm/dynamic_import_deno_ts_from_npm/__test__.jsonc
index 8dbee51c7..61ad30115 100644
--- a/tests/specs/npm/dynamic_import_deno_ts_from_npm/__test__.jsonc
+++ b/tests/specs/npm/dynamic_import_deno_ts_from_npm/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run --allow-read --quiet dynamic_import_deno_ts_from_npm/main.ts",
- "output": "dynamic_import_deno_ts_from_npm/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "dynamic_import_deno_ts_from_npm/main.out"
}
diff --git a/tests/specs/npm/dynamic_import_invalid_package_name/__test__.jsonc b/tests/specs/npm/dynamic_import_invalid_package_name/__test__.jsonc
index a15cabf83..912ff4314 100644
--- a/tests/specs/npm/dynamic_import_invalid_package_name/__test__.jsonc
+++ b/tests/specs/npm/dynamic_import_invalid_package_name/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --reload dynamic_import_invalid_package_name/main.ts",
- "output": "dynamic_import_invalid_package_name/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "dynamic_import_invalid_package_name/main.out"
}
diff --git a/tests/specs/npm/dynamic_import_json/__test__.jsonc b/tests/specs/npm/dynamic_import_json/__test__.jsonc
index 9b4f5a212..ee05ba69a 100644
--- a/tests/specs/npm/dynamic_import_json/__test__.jsonc
+++ b/tests/specs/npm/dynamic_import_json/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet import_json/main.js",
- "output": "import_json/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "import_json/main.out"
}
diff --git a/tests/specs/npm/dynamic_import_reload_same_package/__test__.jsonc b/tests/specs/npm/dynamic_import_reload_same_package/__test__.jsonc
index d255b9a87..4434b794d 100644
--- a/tests/specs/npm/dynamic_import_reload_same_package/__test__.jsonc
+++ b/tests/specs/npm/dynamic_import_reload_same_package/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --reload dynamic_import_reload_same_package/main.ts",
- "output": "dynamic_import_reload_same_package/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "dynamic_import_reload_same_package/main.out"
}
diff --git a/tests/specs/npm/env_var_re_export_dev/__test__.jsonc b/tests/specs/npm/env_var_re_export_dev/__test__.jsonc
index e65ae0308..50d8353ca 100644
--- a/tests/specs/npm/env_var_re_export_dev/__test__.jsonc
+++ b/tests/specs/npm/env_var_re_export_dev/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run --allow-read --allow-env --quiet env_var_re_export/main.js",
- "output": "dev\n",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "dev\n"
}
diff --git a/tests/specs/npm/env_var_re_export_prod/__test__.jsonc b/tests/specs/npm/env_var_re_export_prod/__test__.jsonc
index 6c206ba3e..64b19e1a7 100644
--- a/tests/specs/npm/env_var_re_export_prod/__test__.jsonc
+++ b/tests/specs/npm/env_var_re_export_prod/__test__.jsonc
@@ -2,8 +2,6 @@
"args": "run --allow-read --allow-env --quiet env_var_re_export/main.js",
"output": "prod\n",
"envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/",
"NODE_ENV": "production"
}
}
diff --git a/tests/specs/npm/error_version_after_subpath/__test__.jsonc b/tests/specs/npm/error_version_after_subpath/__test__.jsonc
index 157e238d8..467d42157 100644
--- a/tests/specs/npm/error_version_after_subpath/__test__.jsonc
+++ b/tests/specs/npm/error_version_after_subpath/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run -A --quiet error_version_after_subpath/main.js",
"output": "error_version_after_subpath/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/import_json/__test__.jsonc b/tests/specs/npm/import_json/__test__.jsonc
index 9b4f5a212..ee05ba69a 100644
--- a/tests/specs/npm/import_json/__test__.jsonc
+++ b/tests/specs/npm/import_json/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet import_json/main.js",
- "output": "import_json/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "import_json/main.out"
}
diff --git a/tests/specs/npm/import_map/__test__.jsonc b/tests/specs/npm/import_map/__test__.jsonc
index 822acbbe4..7c39e48e9 100644
--- a/tests/specs/npm/import_map/__test__.jsonc
+++ b/tests/specs/npm/import_map/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run --allow-read --allow-env --import-map import_map/import_map.json import_map/main.js",
- "output": "import_map/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "import_map/main.out"
}
diff --git a/tests/specs/npm/imports_package_json/__test__.jsonc b/tests/specs/npm/imports_package_json/__test__.jsonc
index e11b92132..35eabd4e1 100644
--- a/tests/specs/npm/imports_package_json/__test__.jsonc
+++ b/tests/specs/npm/imports_package_json/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run --no-lock --node-modules-dir=none imports_package_json/main.js",
- "output": "imports_package_json/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "imports_package_json/main.out"
}
diff --git a/tests/specs/npm/imports_package_json_import_not_defined/__test__.jsonc b/tests/specs/npm/imports_package_json_import_not_defined/__test__.jsonc
index 0f094838c..983ec3126 100644
--- a/tests/specs/npm/imports_package_json_import_not_defined/__test__.jsonc
+++ b/tests/specs/npm/imports_package_json_import_not_defined/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run --no-lock --node-modules-dir=none imports_package_json/import_not_defined.js",
"output": "imports_package_json/import_not_defined.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/imports_package_json_sub_path_import_not_defined/__test__.jsonc b/tests/specs/npm/imports_package_json_sub_path_import_not_defined/__test__.jsonc
index f862dc58e..cd9b260f4 100644
--- a/tests/specs/npm/imports_package_json_sub_path_import_not_defined/__test__.jsonc
+++ b/tests/specs/npm/imports_package_json_sub_path_import_not_defined/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run --no-lock --node-modules-dir=none imports_package_json/sub_path_import_not_defined.js",
"output": "imports_package_json/sub_path_import_not_defined.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/info_chalk_display/__test__.jsonc b/tests/specs/npm/info_chalk_display/__test__.jsonc
index 998aa6f1d..54b5b7439 100644
--- a/tests/specs/npm/info_chalk_display/__test__.jsonc
+++ b/tests/specs/npm/info_chalk_display/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "info --quiet cjs_with_deps/main.js",
"output": "cjs_with_deps/main_info.out",
- "exitCode": 0,
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "exitCode": 0
}
diff --git a/tests/specs/npm/info_chalk_display_node_modules_dir/__test__.jsonc b/tests/specs/npm/info_chalk_display_node_modules_dir/__test__.jsonc
index 1e6ef8284..4358f6488 100644
--- a/tests/specs/npm/info_chalk_display_node_modules_dir/__test__.jsonc
+++ b/tests/specs/npm/info_chalk_display_node_modules_dir/__test__.jsonc
@@ -2,9 +2,5 @@
"tempDir": true,
"args": "info --quiet --node-modules-dir cjs_with_deps/main.js",
"output": "cjs_with_deps/main_info.out",
- "exitCode": 0,
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "exitCode": 0
}
diff --git a/tests/specs/npm/info_chalk_json/__test__.jsonc b/tests/specs/npm/info_chalk_json/__test__.jsonc
index 12c8b9b61..c6e65db94 100644
--- a/tests/specs/npm/info_chalk_json/__test__.jsonc
+++ b/tests/specs/npm/info_chalk_json/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "info --quiet --json cjs_with_deps/main.js",
"output": "cjs_with_deps/main_info_json.out",
- "exitCode": 0,
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "exitCode": 0
}
diff --git a/tests/specs/npm/info_chalk_json_node_modules_dir/__test__.jsonc b/tests/specs/npm/info_chalk_json_node_modules_dir/__test__.jsonc
index 37b510488..29c5e8bdf 100644
--- a/tests/specs/npm/info_chalk_json_node_modules_dir/__test__.jsonc
+++ b/tests/specs/npm/info_chalk_json_node_modules_dir/__test__.jsonc
@@ -2,9 +2,5 @@
"tempDir": true,
"args": "info --quiet --node-modules-dir --json cjs_with_deps/main.js",
"output": "cjs_with_deps/main_info_json.out",
- "exitCode": 0,
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "exitCode": 0
}
diff --git a/tests/specs/npm/info_cli_chalk_display/__test__.jsonc b/tests/specs/npm/info_cli_chalk_display/__test__.jsonc
index 7587fbcb6..902bb2dae 100644
--- a/tests/specs/npm/info_cli_chalk_display/__test__.jsonc
+++ b/tests/specs/npm/info_cli_chalk_display/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "info --quiet npm:chalk@4",
"output": "info/chalk.out",
- "exitCode": 0,
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "exitCode": 0
}
diff --git a/tests/specs/npm/info_cli_chalk_json/__test__.jsonc b/tests/specs/npm/info_cli_chalk_json/__test__.jsonc
index b5173fd93..ee34abae7 100644
--- a/tests/specs/npm/info_cli_chalk_json/__test__.jsonc
+++ b/tests/specs/npm/info_cli_chalk_json/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "info --quiet --json npm:chalk@4",
"output": "info/chalk_json.out",
- "exitCode": 0,
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "exitCode": 0
}
diff --git a/tests/specs/npm/info_peer_deps/__test__.jsonc b/tests/specs/npm/info_peer_deps/__test__.jsonc
index e505f3077..00dfbc98b 100644
--- a/tests/specs/npm/info_peer_deps/__test__.jsonc
+++ b/tests/specs/npm/info_peer_deps/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "info --quiet peer_deps_with_copied_folders/main.ts",
"output": "peer_deps_with_copied_folders/main_info.out",
- "exitCode": 0,
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "exitCode": 0
}
diff --git a/tests/specs/npm/info_peer_deps_json/__test__.jsonc b/tests/specs/npm/info_peer_deps_json/__test__.jsonc
index 9a630add4..5dd08c325 100644
--- a/tests/specs/npm/info_peer_deps_json/__test__.jsonc
+++ b/tests/specs/npm/info_peer_deps_json/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "info --quiet --json peer_deps_with_copied_folders/main.ts",
"output": "peer_deps_with_copied_folders/main_info_json.out",
- "exitCode": 0,
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "exitCode": 0
}
diff --git a/tests/specs/npm/mixed_case_package_name_global_dir/__test__.jsonc b/tests/specs/npm/mixed_case_package_name_global_dir/__test__.jsonc
index cc9359aab..db980472d 100644
--- a/tests/specs/npm/mixed_case_package_name_global_dir/__test__.jsonc
+++ b/tests/specs/npm/mixed_case_package_name_global_dir/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run mixed_case_package_name/global.ts",
"output": "mixed_case_package_name/global.out",
- "exitCode": 0,
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "exitCode": 0
}
diff --git a/tests/specs/npm/mixed_case_package_name_local_dir/__test__.jsonc b/tests/specs/npm/mixed_case_package_name_local_dir/__test__.jsonc
index 1f568e286..a214b6f4a 100644
--- a/tests/specs/npm/mixed_case_package_name_local_dir/__test__.jsonc
+++ b/tests/specs/npm/mixed_case_package_name_local_dir/__test__.jsonc
@@ -2,9 +2,5 @@
"tempDir": true,
"args": "run --node-modules-dir=auto -A mixed_case_package_name/local.ts",
"output": "mixed_case_package_name/local.out",
- "exitCode": 0,
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "exitCode": 0
}
diff --git a/tests/specs/npm/node_modules_deno_node_modules/__test__.jsonc b/tests/specs/npm/node_modules_deno_node_modules/__test__.jsonc
index 377fd05ea..a1fbfef7c 100644
--- a/tests/specs/npm/node_modules_deno_node_modules/__test__.jsonc
+++ b/tests/specs/npm/node_modules_deno_node_modules/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run --quiet node_modules_deno_node_modules/main.ts",
"output": "node_modules_deno_node_modules/main.out",
- "exitCode": 0,
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "exitCode": 0
}
diff --git a/tests/specs/npm/node_modules_deno_node_modules_local/__test__.jsonc b/tests/specs/npm/node_modules_deno_node_modules_local/__test__.jsonc
index caa34f67c..d283b758b 100644
--- a/tests/specs/npm/node_modules_deno_node_modules_local/__test__.jsonc
+++ b/tests/specs/npm/node_modules_deno_node_modules_local/__test__.jsonc
@@ -2,9 +2,5 @@
"tempDir": true,
"args": "run --quiet --node-modules-dir node_modules_deno_node_modules/main.ts",
"output": "node_modules_deno_node_modules/main.out",
- "exitCode": 0,
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "exitCode": 0
}
diff --git a/tests/specs/npm/node_modules_dir_require_added_node_modules_folder/__test__.jsonc b/tests/specs/npm/node_modules_dir_require_added_node_modules_folder/__test__.jsonc
index c20c92924..d0b1d081c 100644
--- a/tests/specs/npm/node_modules_dir_require_added_node_modules_folder/__test__.jsonc
+++ b/tests/specs/npm/node_modules_dir_require_added_node_modules_folder/__test__.jsonc
@@ -2,9 +2,5 @@
"tempDir": true,
"args": "run --node-modules-dir=auto -A --quiet require_added_nm_folder/main.js",
"output": "require_added_nm_folder/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 0
}
diff --git a/tests/specs/npm/node_modules_dir_require_main_entry/__test__.jsonc b/tests/specs/npm/node_modules_dir_require_main_entry/__test__.jsonc
index 1a0dfba32..a2b936d66 100644
--- a/tests/specs/npm/node_modules_dir_require_main_entry/__test__.jsonc
+++ b/tests/specs/npm/node_modules_dir_require_main_entry/__test__.jsonc
@@ -2,9 +2,5 @@
"tempDir": true,
"args": "run --node-modules-dir -A --quiet require_main/main.js",
"output": "require_main/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 0
}
diff --git a/tests/specs/npm/node_modules_dir_with_deps/__test__.jsonc b/tests/specs/npm/node_modules_dir_with_deps/__test__.jsonc
index 75488e1b5..945a3f4d4 100644
--- a/tests/specs/npm/node_modules_dir_with_deps/__test__.jsonc
+++ b/tests/specs/npm/node_modules_dir_with_deps/__test__.jsonc
@@ -1,9 +1,5 @@
{
"tempDir": true,
"args": "run --allow-read --allow-env --node-modules-dir=auto cjs_with_deps/main.js",
- "output": "cjs_with_deps/main_node_modules.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "cjs_with_deps/main_node_modules.out"
}
diff --git a/tests/specs/npm/node_modules_dir_yargs/__test__.jsonc b/tests/specs/npm/node_modules_dir_yargs/__test__.jsonc
index df28ea7ef..ffb9b41f8 100644
--- a/tests/specs/npm/node_modules_dir_yargs/__test__.jsonc
+++ b/tests/specs/npm/node_modules_dir_yargs/__test__.jsonc
@@ -1,9 +1,5 @@
{
"tempDir": true,
"args": "run --allow-read --allow-env --node-modules-dir=auto cjs_yargs/main.js",
- "output": "cjs_yargs/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "cjs_yargs/main.out"
}
diff --git a/tests/specs/npm/non_existent_dep/__test__.jsonc b/tests/specs/npm/non_existent_dep/__test__.jsonc
index a43708421..bc3841419 100644
--- a/tests/specs/npm/non_existent_dep/__test__.jsonc
+++ b/tests/specs/npm/non_existent_dep/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "cache npm:@denotest/non-existent-dep",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1,
"output": "[UNORDERED_START]\nDownload http://localhost:4260/@denotest/non-existent-dep\nDownload http://localhost:4260/@denotest/non-existent\n[UNORDERED_END]\nerror: npm package '@denotest/non-existent' does not exist.\n"
}
diff --git a/tests/specs/npm/non_existent_dep_version/__test__.jsonc b/tests/specs/npm/non_existent_dep_version/__test__.jsonc
index 19cd713e2..4bc084ce3 100644
--- a/tests/specs/npm/non_existent_dep_version/__test__.jsonc
+++ b/tests/specs/npm/non_existent_dep_version/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "cache npm:@denotest/non-existent-dep-version",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1,
"output": "[UNORDERED_START]\nDownload http://localhost:4260/@denotest/non-existent-dep-version\nDownload http://localhost:4260/@denotest/esm-basic\n[UNORDERED_END]\nerror: Could not find npm package '@denotest/esm-basic' matching '=99.99.99'.\n"
}
diff --git a/tests/specs/npm/nonexistent_file/__test__.jsonc b/tests/specs/npm/nonexistent_file/__test__.jsonc
index efbda98d2..2ad137bf4 100644
--- a/tests/specs/npm/nonexistent_file/__test__.jsonc
+++ b/tests/specs/npm/nonexistent_file/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run -A --quiet nonexistent_file/main.js",
"output": "nonexistent_file/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/nonexistent_file_node_modules_dir/__test__.jsonc b/tests/specs/npm/nonexistent_file_node_modules_dir/__test__.jsonc
index 66595558f..82b282c04 100644
--- a/tests/specs/npm/nonexistent_file_node_modules_dir/__test__.jsonc
+++ b/tests/specs/npm/nonexistent_file_node_modules_dir/__test__.jsonc
@@ -2,9 +2,5 @@
"tempDir": true,
"args": "run -A --quiet --node-modules-dir nonexistent_file/main.js",
"output": "nonexistent_file/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/permissions_outside_package/__test__.jsonc b/tests/specs/npm/permissions_outside_package/__test__.jsonc
index 58f917f73..56228296b 100644
--- a/tests/specs/npm/permissions_outside_package/__test__.jsonc
+++ b/tests/specs/npm/permissions_outside_package/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run --allow-read permissions_outside_package/main.ts",
- "output": "permissions_outside_package/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "permissions_outside_package/main.out"
}
diff --git a/tests/specs/npm/remote_npm_specifier/__test__.jsonc b/tests/specs/npm/remote_npm_specifier/__test__.jsonc
index 416024f0c..0cf7c4c87 100644
--- a/tests/specs/npm/remote_npm_specifier/__test__.jsonc
+++ b/tests/specs/npm/remote_npm_specifier/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run --quiet -A remote_npm_specifier/main.ts",
"output": "remote_npm_specifier/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 0
}
diff --git a/tests/specs/npm/require_json/__test__.jsonc b/tests/specs/npm/require_json/__test__.jsonc
index 43af6230f..c24572f14 100644
--- a/tests/specs/npm/require_json/__test__.jsonc
+++ b/tests/specs/npm/require_json/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet require_json/main.js",
- "output": "require_json/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "require_json/main.out"
}
diff --git a/tests/specs/npm/reserved_word_exports/__test__.jsonc b/tests/specs/npm/reserved_word_exports/__test__.jsonc
index d2f6ae7c2..01d5974c3 100644
--- a/tests/specs/npm/reserved_word_exports/__test__.jsonc
+++ b/tests/specs/npm/reserved_word_exports/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run reserved_word_exports/main.ts",
- "output": "reserved_word_exports/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "reserved_word_exports/main.out"
}
diff --git a/tests/specs/npm/run_existing_npm_package_with_subpath/__test__.jsonc b/tests/specs/npm/run_existing_npm_package_with_subpath/__test__.jsonc
index bb02973c4..3509fc5ad 100644
--- a/tests/specs/npm/run_existing_npm_package_with_subpath/__test__.jsonc
+++ b/tests/specs/npm/run_existing_npm_package_with_subpath/__test__.jsonc
@@ -1,9 +1,5 @@
{
"tempDir": true,
"args": "run --allow-read --node-modules-dir=auto npm:@denotest/bin/cli-esm dev --help",
- "output": "run_existing_npm_package_with_subpath/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "run_existing_npm_package_with_subpath/main.out"
}
diff --git a/tests/specs/npm/sub_paths/__test__.jsonc b/tests/specs/npm/sub_paths/__test__.jsonc
index 88ccbc3ac..4023fb197 100644
--- a/tests/specs/npm/sub_paths/__test__.jsonc
+++ b/tests/specs/npm/sub_paths/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet sub_paths/main.jsx",
- "output": "sub_paths/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "sub_paths/main.out"
}
diff --git a/tests/specs/npm/tarball_with_global_header/__test__.jsonc b/tests/specs/npm/tarball_with_global_header/__test__.jsonc
index 7cf4a6083..af6f89183 100644
--- a/tests/specs/npm/tarball_with_global_header/__test__.jsonc
+++ b/tests/specs/npm/tarball_with_global_header/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet tarball_with_global_header/main.js",
- "output": "tarball_with_global_header/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "tarball_with_global_header/main.out"
}
diff --git a/tests/specs/npm/translate_cjs_to_esm/__test__.jsonc b/tests/specs/npm/translate_cjs_to_esm/__test__.jsonc
index e1344493c..59f587358 100644
--- a/tests/specs/npm/translate_cjs_to_esm/__test__.jsonc
+++ b/tests/specs/npm/translate_cjs_to_esm/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "run -A --quiet translate_cjs_to_esm/main.js",
- "output": "translate_cjs_to_esm/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "translate_cjs_to_esm/main.out"
}
diff --git a/tests/specs/npm/types_ambient_module/__test__.jsonc b/tests/specs/npm/types_ambient_module/__test__.jsonc
index fc60b3433..966d8d8ed 100644
--- a/tests/specs/npm/types_ambient_module/__test__.jsonc
+++ b/tests/specs/npm/types_ambient_module/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "check --quiet types_ambient_module/main.ts",
"output": "types_ambient_module/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/types_ambient_module_import_map/__test__.jsonc b/tests/specs/npm/types_ambient_module_import_map/__test__.jsonc
index 2e8c9b60b..bbfa93a99 100644
--- a/tests/specs/npm/types_ambient_module_import_map/__test__.jsonc
+++ b/tests/specs/npm/types_ambient_module_import_map/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "check --quiet --import-map=types_ambient_module/import_map.json types_ambient_module/main_import_map.ts",
"output": "types_ambient_module/main_import_map.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/types_d_ext/__test__.jsonc b/tests/specs/npm/types_d_ext/__test__.jsonc
index daa0f26ff..0af9e08b1 100644
--- a/tests/specs/npm/types_d_ext/__test__.jsonc
+++ b/tests/specs/npm/types_d_ext/__test__.jsonc
@@ -1,8 +1,4 @@
{
"args": "check --all d_ext/main.ts",
- "output": "d_ext/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- }
+ "output": "d_ext/main.out"
}
diff --git a/tests/specs/npm/types_entry_value_not_exists/__test__.jsonc b/tests/specs/npm/types_entry_value_not_exists/__test__.jsonc
index 1c2e8735f..5f66e8a38 100644
--- a/tests/specs/npm/types_entry_value_not_exists/__test__.jsonc
+++ b/tests/specs/npm/types_entry_value_not_exists/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "check --all types_entry_value_not_exists/main.ts",
"output": "types_entry_value_not_exists/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/types_exports_import_types/__test__.jsonc b/tests/specs/npm/types_exports_import_types/__test__.jsonc
index fbb6a918a..b7dab5d3d 100644
--- a/tests/specs/npm/types_exports_import_types/__test__.jsonc
+++ b/tests/specs/npm/types_exports_import_types/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "check --all types_exports_import_types/main.ts",
"output": "types_exports_import_types/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/types_no_types_entry/__test__.jsonc b/tests/specs/npm/types_no_types_entry/__test__.jsonc
index bae02f3a8..3625122bf 100644
--- a/tests/specs/npm/types_no_types_entry/__test__.jsonc
+++ b/tests/specs/npm/types_no_types_entry/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "check --all types_no_types_entry/main.ts",
"output": "types_no_types_entry/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}
diff --git a/tests/specs/npm/typescript_file_in_package/__test__.jsonc b/tests/specs/npm/typescript_file_in_package/__test__.jsonc
index c5bd61ca2..08979ed25 100644
--- a/tests/specs/npm/typescript_file_in_package/__test__.jsonc
+++ b/tests/specs/npm/typescript_file_in_package/__test__.jsonc
@@ -1,9 +1,5 @@
{
"args": "run typescript_file_in_package/main.ts",
"output": "typescript_file_in_package/main.out",
- "envs": {
- "NO_COLOR": "1",
- "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
- },
"exitCode": 1
}