From ed49f00e04959bc7ea6e169fd7a7bdc341f06062 Mon Sep 17 00:00:00 2001 From: snek Date: Tue, 9 Jul 2024 11:00:23 -0700 Subject: [PATCH] fix: test in presence of .npmrc (#24486) override home dir so .npmrc on the dev machine doesn't break it Signed-off-by: snek --- tests/specs/npm/npmrc_not_next_to_package_json/__test__.jsonc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 8ba9ef00cc..56c50bae50 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",