diff options
author | snek <snek@deno.com> | 2024-07-09 11:00:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-09 11:00:23 -0700 |
commit | ed49f00e04959bc7ea6e169fd7a7bdc341f06062 (patch) | |
tree | 01867520a7d329f17f9f9075576711b407dbbbb3 | |
parent | 158b4a4e029146c2614402c2d77aed9f513cf57d (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__.jsonc | 3 |
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", |