From d116709d064ce85922f1fd635d5915b4659c83d5 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 2 Oct 2024 05:14:38 -0400 Subject: [PATCH] chore: remove unnecessary envs in spec tests (#25982) --- tests/specs/doc/deno_doc/__test__.jsonc | 10 ++-------- tests/specs/lockfile/frozen_lockfile/__test__.jsonc | 2 -- tests/specs/node/node_test_module/__test__.jsonc | 4 ---- .../node/node_test_module_no_sanitizers/__test__.jsonc | 4 ---- tests/specs/npm/builtin_module_module/__test__.jsonc | 6 +----- tests/specs/npm/cached_only/__test__.jsonc | 4 ---- tests/specs/npm/check_all/__test__.jsonc | 4 ---- tests/specs/npm/check_local/__test__.jsonc | 4 ---- .../check_package_file_dts_dmts_dcts/__test__.jsonc | 4 ---- tests/specs/npm/child_process_fork_test/__test__.jsonc | 6 +----- .../specs/npm/cjs_invalid_name_exports/__test__.jsonc | 6 +----- tests/specs/npm/cjs_local_global_decls/__test__.jsonc | 6 +----- .../npm/cjs_module_export_assignment/__test__.jsonc | 6 +----- .../cjs_module_export_assignment_number/__test__.jsonc | 6 +----- tests/specs/npm/cjs_pkg_imports/__test__.jsonc | 6 +----- tests/specs/npm/cjs_reexport_collision/__test__.jsonc | 6 +----- tests/specs/npm/cjs_require_esm/__test__.jsonc | 6 +----- tests/specs/npm/cjs_require_esm_mjs/__test__.jsonc | 6 +----- tests/specs/npm/cjs_sub_path/__test__.jsonc | 6 +----- tests/specs/npm/cjs_this_in_exports/__test__.jsonc | 4 ---- tests/specs/npm/cjs_with_deps/__test__.jsonc | 6 +----- tests/specs/npm/compare_globals/__test__.jsonc | 6 +----- tests/specs/npm/create_require/__test__.jsonc | 6 +----- tests/specs/npm/deno_cache/__test__.jsonc | 6 +----- tests/specs/npm/deno_run_bin_cjs/__test__.jsonc | 6 +----- .../deno_run_bin_cjs_no_bin_entrypoint/__test__.jsonc | 6 +----- tests/specs/npm/deno_run_bin_esm/__test__.jsonc | 6 +----- .../deno_run_bin_esm_no_bin_entrypoint/__test__.jsonc | 6 +----- tests/specs/npm/deno_run_bin_no_ext/__test__.jsonc | 6 +----- .../npm/deno_run_bin_special_chars/__test__.jsonc | 6 +----- tests/specs/npm/deno_run_cowsay/__test__.jsonc | 6 +----- .../specs/npm/deno_run_cowsay_explicit/__test__.jsonc | 6 +----- .../__test__.jsonc | 6 +----- tests/specs/npm/deno_run_cowthink/__test__.jsonc | 6 +----- .../npm/deno_run_no_bin_entrypoint/__test__.jsonc | 4 ---- .../__test__.jsonc | 4 ---- tests/specs/npm/deno_run_non_existent/__test__.jsonc | 4 ---- .../__test__.jsonc | 4 ---- .../__test__.jsonc | 4 ---- .../directory_import_folder_index_js/__test__.jsonc | 4 ---- .../directory_import_folder_no_index/__test__.jsonc | 4 ---- tests/specs/npm/dual_cjs_esm/__test__.jsonc | 6 +----- .../npm/dynamic_import_deno_ts_from_npm/__test__.jsonc | 6 +----- .../dynamic_import_invalid_package_name/__test__.jsonc | 6 +----- tests/specs/npm/dynamic_import_json/__test__.jsonc | 6 +----- .../dynamic_import_reload_same_package/__test__.jsonc | 6 +----- tests/specs/npm/env_var_re_export_dev/__test__.jsonc | 6 +----- tests/specs/npm/env_var_re_export_prod/__test__.jsonc | 2 -- .../npm/error_version_after_subpath/__test__.jsonc | 4 ---- tests/specs/npm/import_json/__test__.jsonc | 6 +----- tests/specs/npm/import_map/__test__.jsonc | 6 +----- tests/specs/npm/imports_package_json/__test__.jsonc | 6 +----- .../__test__.jsonc | 4 ---- .../__test__.jsonc | 4 ---- tests/specs/npm/info_chalk_display/__test__.jsonc | 6 +----- .../info_chalk_display_node_modules_dir/__test__.jsonc | 6 +----- tests/specs/npm/info_chalk_json/__test__.jsonc | 6 +----- .../info_chalk_json_node_modules_dir/__test__.jsonc | 6 +----- tests/specs/npm/info_cli_chalk_display/__test__.jsonc | 6 +----- tests/specs/npm/info_cli_chalk_json/__test__.jsonc | 6 +----- tests/specs/npm/info_peer_deps/__test__.jsonc | 6 +----- tests/specs/npm/info_peer_deps_json/__test__.jsonc | 6 +----- .../mixed_case_package_name_global_dir/__test__.jsonc | 6 +----- .../mixed_case_package_name_local_dir/__test__.jsonc | 6 +----- .../npm/node_modules_deno_node_modules/__test__.jsonc | 6 +----- .../__test__.jsonc | 6 +----- .../__test__.jsonc | 4 ---- .../node_modules_dir_require_main_entry/__test__.jsonc | 4 ---- .../npm/node_modules_dir_with_deps/__test__.jsonc | 6 +----- tests/specs/npm/node_modules_dir_yargs/__test__.jsonc | 6 +----- tests/specs/npm/non_existent_dep/__test__.jsonc | 4 ---- .../specs/npm/non_existent_dep_version/__test__.jsonc | 4 ---- tests/specs/npm/nonexistent_file/__test__.jsonc | 4 ---- .../nonexistent_file_node_modules_dir/__test__.jsonc | 4 ---- .../npm/permissions_outside_package/__test__.jsonc | 6 +----- tests/specs/npm/remote_npm_specifier/__test__.jsonc | 4 ---- tests/specs/npm/require_json/__test__.jsonc | 6 +----- tests/specs/npm/reserved_word_exports/__test__.jsonc | 6 +----- .../__test__.jsonc | 6 +----- tests/specs/npm/sub_paths/__test__.jsonc | 6 +----- .../npm/tarball_with_global_header/__test__.jsonc | 6 +----- tests/specs/npm/translate_cjs_to_esm/__test__.jsonc | 6 +----- tests/specs/npm/types_ambient_module/__test__.jsonc | 4 ---- .../npm/types_ambient_module_import_map/__test__.jsonc | 4 ---- tests/specs/npm/types_d_ext/__test__.jsonc | 6 +----- .../npm/types_entry_value_not_exists/__test__.jsonc | 4 ---- .../npm/types_exports_import_types/__test__.jsonc | 4 ---- tests/specs/npm/types_no_types_entry/__test__.jsonc | 4 ---- .../npm/typescript_file_in_package/__test__.jsonc | 4 ---- tests/specs/task/additional_args/__test__.jsonc | 5 +---- .../task/additional_args_nested_strings/__test__.jsonc | 5 +---- .../specs/task/additional_args_no_logic/__test__.jsonc | 5 +---- .../additional_args_no_shell_expansion/__test__.jsonc | 5 +---- tests/specs/task/boolean_logic/__test__.jsonc | 5 +---- .../specs/task/both_deno_json_selected/__test__.jsonc | 4 ---- tests/specs/task/both_no_arg/__test__.jsonc | 3 --- tests/specs/task/both_prefers_deno/__test__.jsonc | 4 ---- tests/specs/task/cwd/__test__.jsonc | 3 --- .../__test__.jsonc | 3 --- tests/specs/task/deno_exe_no_env/__test__.jsonc | 5 +---- tests/specs/task/deno_no_pre_post/__test__.jsonc | 3 --- tests/specs/task/doc_comments_incorrect/__test__.jsonc | 1 - tests/specs/task/doc_comments_no_args/__test__.jsonc | 1 - tests/specs/task/exit_code_5/__test__.jsonc | 3 --- tests/specs/task/init_cwd/__test__.jsonc | 3 --- tests/specs/task/init_cwd_already_set/__test__.jsonc | 1 - tests/specs/task/no_args/__test__.jsonc | 3 --- tests/specs/task/non_existent/__test__.jsonc | 3 --- tests/specs/task/npx_non_existent/__test__.jsonc | 4 ---- tests/specs/task/package_json_echo/__test__.jsonc | 4 ---- tests/specs/task/package_json_no_arg/__test__.jsonc | 3 --- tests/specs/task/piped_stdin/__test__.jsonc | 5 +---- tests/specs/task/post/__test__.jsonc | 3 --- tests/specs/task/post_only/__test__.jsonc | 3 --- tests/specs/task/pre/__test__.jsonc | 3 --- tests/specs/task/pre_only/__test__.jsonc | 3 --- tests/specs/task/pre_post/__test__.jsonc | 3 --- tests/specs/test/captured_output/__test__.jsonc | 1 - tests/specs/test/no_color/__test__.jsonc | 3 --- .../specs/test/steps_tap_failing_steps/__test__.jsonc | 3 --- 120 files changed, 65 insertions(+), 508 deletions(-) diff --git a/tests/specs/doc/deno_doc/__test__.jsonc b/tests/specs/doc/deno_doc/__test__.jsonc index 251565ecb4..5557757e04 100644 --- a/tests/specs/doc/deno_doc/__test__.jsonc +++ b/tests/specs/doc/deno_doc/__test__.jsonc @@ -2,16 +2,10 @@ "steps": [{ "args": "doc deno_doc.ts", "output": "foo.out", - "exitCode": 0, - "envs": { - "NO_COLOR": "1" - } + "exitCode": 0 }, { "args": "doc deno_doc2.ts", "output": "bar.out", - "exitCode": 0, - "envs": { - "NO_COLOR": "1" - } + "exitCode": 0 }] } diff --git a/tests/specs/lockfile/frozen_lockfile/__test__.jsonc b/tests/specs/lockfile/frozen_lockfile/__test__.jsonc index 8179052e19..7a7b9c233a 100644 --- a/tests/specs/lockfile/frozen_lockfile/__test__.jsonc +++ b/tests/specs/lockfile/frozen_lockfile/__test__.jsonc @@ -118,7 +118,6 @@ } ] }, - "lockfile_config": { "steps": [ { @@ -146,7 +145,6 @@ } ] }, - "non_analyzable_dynamic_npm": { "steps": [ { diff --git a/tests/specs/node/node_test_module/__test__.jsonc b/tests/specs/node/node_test_module/__test__.jsonc index ef93b66731..701917bf35 100644 --- a/tests/specs/node/node_test_module/__test__.jsonc +++ b/tests/specs/node/node_test_module/__test__.jsonc @@ -1,9 +1,5 @@ { "args": "test test.js", "output": "test.out", - "envs": { - "NO_COLOR": "1", - "NPM_CONFIG_REGISTRY": "http://localhost:4260/" - }, "exitCode": 1 } diff --git a/tests/specs/node/node_test_module_no_sanitizers/__test__.jsonc b/tests/specs/node/node_test_module_no_sanitizers/__test__.jsonc index 0a9a9524b4..8830e48dde 100644 --- a/tests/specs/node/node_test_module_no_sanitizers/__test__.jsonc +++ b/tests/specs/node/node_test_module_no_sanitizers/__test__.jsonc @@ -1,9 +1,5 @@ { "args": "test -A --no-check test_no_sanitizers/test.js", "output": "test_no_sanitizers/test.out", - "envs": { - "NO_COLOR": "1", - "NPM_CONFIG_REGISTRY": "http://localhost:4260/" - }, "exitCode": 0 } diff --git a/tests/specs/npm/builtin_module_module/__test__.jsonc b/tests/specs/npm/builtin_module_module/__test__.jsonc index 2f26a95d4a..eb211eda16 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 764f702d2c..b2190d110d 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 4275243056..e78f7e67d8 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 1bffa5eed0..2cf3ae5ef0 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 675051a69e..5caaa23aaf 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 f83cb051e1..a4bdf0c92e 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 a38b8d0356..1d66adbd23 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 8bf847873f..6a42f26e6d 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 e9be6361a1..3a8c104aba 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 d70f82e503..1b44f98c37 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 c51f14b560..0ab9d873d9 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 0b9d1e6211..582b2c9574 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 172f1ca650..b4e03afa3b 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 3a13231272..6bcb382e8d 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 dbec76a13b..6a22c17649 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 251691ca8e..f3b5985810 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 d9014f102a..e79fda5c77 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 d86a76dbc7..e096ddeb22 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 40d9ce0669..901a977d7c 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 93b204c033..302b25e413 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 9eb8e9bfec..cd4bcb119c 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 6ee5a326ba..0e86d9974c 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 fc48451bb6..828cf6b0da 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 956755b306..c2c0117f7a 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 71877b399b..3f5cc3f2a4 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 c3e14c0b71..23a339349d 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 0015b88be8..36a677534c 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 1ecce925e8..a515fd16ce 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 d2c95f0728..fdc0a7da1e 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 2acc84e7b9..622c0a51c3 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 5331ec9c41..43a2701f19 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 3eaa8274c6..94b12f2b4a 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 72dc01450b..d112c96699 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 24587d928e..07db0a1acb 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 a5c40cdd95..7fd130e506 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 8eb6226d6a..b3f7b64cbd 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 6137479980..e0bb868ad8 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 5ace51cecb..f2b0d694e3 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 8dbee51c7e..61ad30115d 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 a15cabf83a..912ff43147 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 9b4f5a2124..ee05ba69af 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 d255b9a872..4434b794dd 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 e65ae0308d..50d8353ca1 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 6c206ba3e9..64b19e1a7a 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 157e238d8a..467d42157e 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 9b4f5a2124..ee05ba69af 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 822acbbe4e..7c39e48e9d 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 e11b92132e..35eabd4e15 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 0f094838c1..983ec31263 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 f862dc58e4..cd9b260f48 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 998aa6f1db..54b5b74396 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 1e6ef8284a..4358f64883 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 12c8b9b615..c6e65db94b 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 37b510488e..29c5e8bdff 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 7587fbcb6e..902bb2dae6 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 b5173fd93f..ee34abae7f 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 e505f30774..00dfbc98b7 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 9a630add45..5dd08c325f 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 cc9359aab2..db980472de 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 1f568e2861..a214b6f4a3 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 377fd05eab..a1fbfef7c9 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 caa34f67cb..d283b758bb 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 c20c929248..d0b1d081cb 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 1a0dfba321..a2b936d661 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 75488e1b5d..945a3f4d4b 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 df28ea7eff..ffb9b41f82 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 a437084210..bc38414195 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 19cd713e2e..4bc084ce3d 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 efbda98d28..2ad137bf4a 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 66595558f1..82b282c04b 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 58f917f735..56228296b3 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 416024f0cd..0cf7c4c87d 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 43af6230f6..c24572f144 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 d2f6ae7c29..01d5974c38 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 bb02973c4d..3509fc5adb 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 88ccbc3ac4..4023fb197b 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 7cf4a60830..af6f891836 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 e1344493cd..59f5873582 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 fc60b34332..966d8d8ed4 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 2e8c9b60b9..bbfa93a99b 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 daa0f26ff0..0af9e08b12 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 1c2e8735fb..5f66e8a389 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 fbb6a918a2..b7dab5d3dc 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 bae02f3a84..3625122bf6 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 c5bd61ca27..08979ed257 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 } diff --git a/tests/specs/task/additional_args/__test__.jsonc b/tests/specs/task/additional_args/__test__.jsonc index b75c638ff2..713c5a6b60 100644 --- a/tests/specs/task/additional_args/__test__.jsonc +++ b/tests/specs/task/additional_args/__test__.jsonc @@ -1,7 +1,4 @@ { "args": "task -q --config deno.json echo 2", - "output": "task_additional_args.out", - "envs": { - "NO_COLOR": "1" - } + "output": "task_additional_args.out" } diff --git a/tests/specs/task/additional_args_nested_strings/__test__.jsonc b/tests/specs/task/additional_args_nested_strings/__test__.jsonc index e543e31acf..fe0c326b83 100644 --- a/tests/specs/task/additional_args_nested_strings/__test__.jsonc +++ b/tests/specs/task/additional_args_nested_strings/__test__.jsonc @@ -1,7 +1,4 @@ { "args": "task -q --config deno.json echo string \"quoted string\"", - "output": "task_additional_args_nested_strings.out", - "envs": { - "NO_COLOR": "1" - } + "output": "task_additional_args_nested_strings.out" } diff --git a/tests/specs/task/additional_args_no_logic/__test__.jsonc b/tests/specs/task/additional_args_no_logic/__test__.jsonc index 849f8bf66f..dc4fbf09a9 100644 --- a/tests/specs/task/additional_args_no_logic/__test__.jsonc +++ b/tests/specs/task/additional_args_no_logic/__test__.jsonc @@ -1,7 +1,4 @@ { "args": "task -q --config deno.json echo || echo 5", - "output": "task_additional_args_no_logic.out", - "envs": { - "NO_COLOR": "1" - } + "output": "task_additional_args_no_logic.out" } diff --git a/tests/specs/task/additional_args_no_shell_expansion/__test__.jsonc b/tests/specs/task/additional_args_no_shell_expansion/__test__.jsonc index 202321e39f..cb467ea83b 100644 --- a/tests/specs/task/additional_args_no_shell_expansion/__test__.jsonc +++ b/tests/specs/task/additional_args_no_shell_expansion/__test__.jsonc @@ -1,7 +1,4 @@ { "args": "task -q --config deno.json echo $(echo 5)", - "output": "task_additional_args_no_shell_expansion.out", - "envs": { - "NO_COLOR": "1" - } + "output": "task_additional_args_no_shell_expansion.out" } diff --git a/tests/specs/task/boolean_logic/__test__.jsonc b/tests/specs/task/boolean_logic/__test__.jsonc index c96e2256ca..426a558c00 100644 --- a/tests/specs/task/boolean_logic/__test__.jsonc +++ b/tests/specs/task/boolean_logic/__test__.jsonc @@ -1,7 +1,4 @@ { "args": "task -q --config deno.json boolean_logic", - "output": "task_boolean_logic.out", - "envs": { - "NO_COLOR": "1" - } + "output": "task_boolean_logic.out" } diff --git a/tests/specs/task/both_deno_json_selected/__test__.jsonc b/tests/specs/task/both_deno_json_selected/__test__.jsonc index 7b0d31cbce..333a314ea4 100644 --- a/tests/specs/task/both_deno_json_selected/__test__.jsonc +++ b/tests/specs/task/both_deno_json_selected/__test__.jsonc @@ -1,9 +1,5 @@ { "args": "task --config deno.json other", "output": "deno_selected.out", - "envs": { - "NO_COLOR": "1", - "NPM_CONFIG_REGISTRY": "http://localhost:4260/" - }, "exitCode": 0 } diff --git a/tests/specs/task/both_no_arg/__test__.jsonc b/tests/specs/task/both_no_arg/__test__.jsonc index 7f60fcf366..ad469793b8 100644 --- a/tests/specs/task/both_no_arg/__test__.jsonc +++ b/tests/specs/task/both_no_arg/__test__.jsonc @@ -1,8 +1,5 @@ { "args": "task --config deno.json", "output": "no_args.out", - "envs": { - "NO_COLOR": "1" - }, "exitCode": 0 } diff --git a/tests/specs/task/both_prefers_deno/__test__.jsonc b/tests/specs/task/both_prefers_deno/__test__.jsonc index 74bfedf8c2..99e9e822ba 100644 --- a/tests/specs/task/both_prefers_deno/__test__.jsonc +++ b/tests/specs/task/both_prefers_deno/__test__.jsonc @@ -1,9 +1,5 @@ { "args": "task --config deno.json output some text", "output": "prefers_deno.out", - "envs": { - "NO_COLOR": "1", - "NPM_CONFIG_REGISTRY": "http://localhost:4260/" - }, "exitCode": 0 } diff --git a/tests/specs/task/cwd/__test__.jsonc b/tests/specs/task/cwd/__test__.jsonc index c291fe0c9b..49b6b41782 100644 --- a/tests/specs/task/cwd/__test__.jsonc +++ b/tests/specs/task/cwd/__test__.jsonc @@ -1,8 +1,5 @@ { "args": "task -q --config deno.json --cwd .. echo_cwd", "output": "task_cwd.out", - "envs": { - "NO_COLOR": "1" - }, "exitCode": 0 } diff --git a/tests/specs/task/cwd_resolves_config_from_specified_dir/__test__.jsonc b/tests/specs/task/cwd_resolves_config_from_specified_dir/__test__.jsonc index d8ba8d97f1..9fc3a488c9 100644 --- a/tests/specs/task/cwd_resolves_config_from_specified_dir/__test__.jsonc +++ b/tests/specs/task/cwd_resolves_config_from_specified_dir/__test__.jsonc @@ -1,8 +1,5 @@ { "args": "task -q --cwd deno.json", "output": "task_no_args.out", - "envs": { - "NO_COLOR": "1" - }, "exitCode": 0 } diff --git a/tests/specs/task/deno_exe_no_env/__test__.jsonc b/tests/specs/task/deno_exe_no_env/__test__.jsonc index b021669e06..289f9483a5 100644 --- a/tests/specs/task/deno_exe_no_env/__test__.jsonc +++ b/tests/specs/task/deno_exe_no_env/__test__.jsonc @@ -1,7 +1,4 @@ { "args": "task -q --config deno.json deno_echo", - "output": "task_deno_exe_no_env.out", - "envs": { - "NO_COLOR": "1" - } + "output": "task_deno_exe_no_env.out" } diff --git a/tests/specs/task/deno_no_pre_post/__test__.jsonc b/tests/specs/task/deno_no_pre_post/__test__.jsonc index 17bdc9acef..a29eece48b 100644 --- a/tests/specs/task/deno_no_pre_post/__test__.jsonc +++ b/tests/specs/task/deno_no_pre_post/__test__.jsonc @@ -1,8 +1,5 @@ { "args": "task --config deno.json test", "output": "bin.out", - "envs": { - "NO_COLOR": "1" - }, "exitCode": 0 } diff --git a/tests/specs/task/doc_comments_incorrect/__test__.jsonc b/tests/specs/task/doc_comments_incorrect/__test__.jsonc index e564690e6d..7346290292 100644 --- a/tests/specs/task/doc_comments_incorrect/__test__.jsonc +++ b/tests/specs/task/doc_comments_incorrect/__test__.jsonc @@ -1,6 +1,5 @@ { "args": "task doesntexist", - "envs": { "NO_COLOR": "1" }, "output": "task.out", "exitCode": 1 } diff --git a/tests/specs/task/doc_comments_no_args/__test__.jsonc b/tests/specs/task/doc_comments_no_args/__test__.jsonc index 9843fa5abb..f3e76cdaa7 100644 --- a/tests/specs/task/doc_comments_no_args/__test__.jsonc +++ b/tests/specs/task/doc_comments_no_args/__test__.jsonc @@ -1,6 +1,5 @@ { "args": "task", - "envs": { "NO_COLOR": "1" }, "output": "task.out", "exitCode": 0 } diff --git a/tests/specs/task/exit_code_5/__test__.jsonc b/tests/specs/task/exit_code_5/__test__.jsonc index 123710b788..0a09cd57f8 100644 --- a/tests/specs/task/exit_code_5/__test__.jsonc +++ b/tests/specs/task/exit_code_5/__test__.jsonc @@ -1,8 +1,5 @@ { "args": "task --config deno.json exit_code_5", "output": "task_exit_code_5.out", - "envs": { - "NO_COLOR": "1" - }, "exitCode": 5 } diff --git a/tests/specs/task/init_cwd/__test__.jsonc b/tests/specs/task/init_cwd/__test__.jsonc index e40d7fef3d..b228e94e6a 100644 --- a/tests/specs/task/init_cwd/__test__.jsonc +++ b/tests/specs/task/init_cwd/__test__.jsonc @@ -1,8 +1,5 @@ { "args": "task -q --config deno.json --cwd .. echo_init_cwd", "output": "task_init_cwd.out", - "envs": { - "NO_COLOR": "1" - }, "exitCode": 0 } diff --git a/tests/specs/task/init_cwd_already_set/__test__.jsonc b/tests/specs/task/init_cwd_already_set/__test__.jsonc index 30e2091ea7..27b817916f 100644 --- a/tests/specs/task/init_cwd_already_set/__test__.jsonc +++ b/tests/specs/task/init_cwd_already_set/__test__.jsonc @@ -2,7 +2,6 @@ "args": "task -q --config deno.json echo_init_cwd", "output": "task_init_cwd_already_set.out", "envs": { - "NO_COLOR": "1", "INIT_CWD": "HELLO" }, "exitCode": 0 diff --git a/tests/specs/task/no_args/__test__.jsonc b/tests/specs/task/no_args/__test__.jsonc index 6347c5989c..6a0c23750a 100644 --- a/tests/specs/task/no_args/__test__.jsonc +++ b/tests/specs/task/no_args/__test__.jsonc @@ -1,8 +1,5 @@ { "args": "task -q --config deno.json", "output": "task_no_args.out", - "envs": { - "NO_COLOR": "1" - }, "exitCode": 0 } diff --git a/tests/specs/task/non_existent/__test__.jsonc b/tests/specs/task/non_existent/__test__.jsonc index e34674beef..f0394819be 100644 --- a/tests/specs/task/non_existent/__test__.jsonc +++ b/tests/specs/task/non_existent/__test__.jsonc @@ -1,8 +1,5 @@ { "args": "task --config deno.json non_existent", "output": "task_non_existent.out", - "envs": { - "NO_COLOR": "1" - }, "exitCode": 1 } diff --git a/tests/specs/task/npx_non_existent/__test__.jsonc b/tests/specs/task/npx_non_existent/__test__.jsonc index 8678a37bd3..d0d3416464 100644 --- a/tests/specs/task/npx_non_existent/__test__.jsonc +++ b/tests/specs/task/npx_non_existent/__test__.jsonc @@ -1,9 +1,5 @@ { "args": "task non-existent", "output": "non_existent.out", - "envs": { - "NO_COLOR": "1", - "NPM_CONFIG_REGISTRY": "http://localhost:4260/" - }, "exitCode": 1 } diff --git a/tests/specs/task/package_json_echo/__test__.jsonc b/tests/specs/task/package_json_echo/__test__.jsonc index 616f72f78f..e6f0708b84 100644 --- a/tests/specs/task/package_json_echo/__test__.jsonc +++ b/tests/specs/task/package_json_echo/__test__.jsonc @@ -1,9 +1,5 @@ { "args": "task --quiet echo", "output": "echo.out", - "envs": { - "NO_COLOR": "1", - "NPM_CONFIG_REGISTRY": "http://localhost:4260/" - }, "exitCode": 0 } diff --git a/tests/specs/task/package_json_no_arg/__test__.jsonc b/tests/specs/task/package_json_no_arg/__test__.jsonc index 4ee627dd2e..6b4ffa96d7 100644 --- a/tests/specs/task/package_json_no_arg/__test__.jsonc +++ b/tests/specs/task/package_json_no_arg/__test__.jsonc @@ -1,8 +1,5 @@ { "args": "task", "output": "no_args.out", - "envs": { - "NO_COLOR": "1" - }, "exitCode": 0 } diff --git a/tests/specs/task/piped_stdin/__test__.jsonc b/tests/specs/task/piped_stdin/__test__.jsonc index 73220430a2..541e53b177 100644 --- a/tests/specs/task/piped_stdin/__test__.jsonc +++ b/tests/specs/task/piped_stdin/__test__.jsonc @@ -1,7 +1,4 @@ { "args": "task -q --config deno.json piped", - "output": "task_piped_stdin.out", - "envs": { - "NO_COLOR": "1" - } + "output": "task_piped_stdin.out" } diff --git a/tests/specs/task/post/__test__.jsonc b/tests/specs/task/post/__test__.jsonc index 3ea55d4561..d22f77cc2b 100644 --- a/tests/specs/task/post/__test__.jsonc +++ b/tests/specs/task/post/__test__.jsonc @@ -1,8 +1,5 @@ { "args": "task test", "output": "bin.out", - "envs": { - "NO_COLOR": "1" - }, "exitCode": 0 } diff --git a/tests/specs/task/post_only/__test__.jsonc b/tests/specs/task/post_only/__test__.jsonc index 4c37e3e63e..606f9eb1f5 100644 --- a/tests/specs/task/post_only/__test__.jsonc +++ b/tests/specs/task/post_only/__test__.jsonc @@ -1,8 +1,5 @@ { "args": "task test", "output": "bin.out", - "envs": { - "NO_COLOR": "1" - }, "exitCode": 1 } diff --git a/tests/specs/task/pre/__test__.jsonc b/tests/specs/task/pre/__test__.jsonc index 3ea55d4561..d22f77cc2b 100644 --- a/tests/specs/task/pre/__test__.jsonc +++ b/tests/specs/task/pre/__test__.jsonc @@ -1,8 +1,5 @@ { "args": "task test", "output": "bin.out", - "envs": { - "NO_COLOR": "1" - }, "exitCode": 0 } diff --git a/tests/specs/task/pre_only/__test__.jsonc b/tests/specs/task/pre_only/__test__.jsonc index 4c37e3e63e..606f9eb1f5 100644 --- a/tests/specs/task/pre_only/__test__.jsonc +++ b/tests/specs/task/pre_only/__test__.jsonc @@ -1,8 +1,5 @@ { "args": "task test", "output": "bin.out", - "envs": { - "NO_COLOR": "1" - }, "exitCode": 1 } diff --git a/tests/specs/task/pre_post/__test__.jsonc b/tests/specs/task/pre_post/__test__.jsonc index 3ea55d4561..d22f77cc2b 100644 --- a/tests/specs/task/pre_post/__test__.jsonc +++ b/tests/specs/task/pre_post/__test__.jsonc @@ -1,8 +1,5 @@ { "args": "task test", "output": "bin.out", - "envs": { - "NO_COLOR": "1" - }, "exitCode": 0 } diff --git a/tests/specs/test/captured_output/__test__.jsonc b/tests/specs/test/captured_output/__test__.jsonc index f56c54555f..f320f9581d 100644 --- a/tests/specs/test/captured_output/__test__.jsonc +++ b/tests/specs/test/captured_output/__test__.jsonc @@ -1,6 +1,5 @@ { "args": "test -A captured_output.ts", "output": "main.out", - "envs": { "NO_COLOR": "1" }, "exitCode": 0 } diff --git a/tests/specs/test/no_color/__test__.jsonc b/tests/specs/test/no_color/__test__.jsonc index 154baa8c19..2c4ae3868d 100644 --- a/tests/specs/test/no_color/__test__.jsonc +++ b/tests/specs/test/no_color/__test__.jsonc @@ -1,8 +1,5 @@ { "args": "test main.ts", "exitCode": 1, - "envs": { - "NO_COLOR": "1" - }, "output": "main.out" } diff --git a/tests/specs/test/steps_tap_failing_steps/__test__.jsonc b/tests/specs/test/steps_tap_failing_steps/__test__.jsonc index fc83a7cdf9..f1e5b21082 100644 --- a/tests/specs/test/steps_tap_failing_steps/__test__.jsonc +++ b/tests/specs/test/steps_tap_failing_steps/__test__.jsonc @@ -1,8 +1,5 @@ { "args": "test --reporter=tap failing_steps.ts", "exitCode": 1, - "envs": { - "NO_COLOR": "1" - }, "output": "failing_steps.tap.out" }