summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsnek <snek@deno.com>2024-07-09 11:00:23 -0700
committerGitHub <noreply@github.com>2024-07-09 11:00:23 -0700
commited49f00e04959bc7ea6e169fd7a7bdc341f06062 (patch)
tree01867520a7d329f17f9f9075576711b407dbbbb3
parent158b4a4e029146c2614402c2d77aed9f513cf57d (diff)
fix: test in presence of .npmrc (#24486)
override home dir so .npmrc on the dev machine doesn't break it Signed-off-by: snek <snek@deno.com>
-rw-r--r--tests/specs/npm/npmrc_not_next_to_package_json/__test__.jsonc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/specs/npm/npmrc_not_next_to_package_json/__test__.jsonc b/tests/specs/npm/npmrc_not_next_to_package_json/__test__.jsonc
index 8ba9ef00c..56c50bae5 100644
--- a/tests/specs/npm/npmrc_not_next_to_package_json/__test__.jsonc
+++ b/tests/specs/npm/npmrc_not_next_to_package_json/__test__.jsonc
@@ -1,7 +1,8 @@
{
"envs": {
"DENO_FUTURE": "1",
- "USERPROFILE": "$DENO_DIR"
+ "USERPROFILE": "$DENO_DIR",
+ "HOME": "$DENO_DIR"
},
"tempDir": true,
"args": "install -A -L debug",