Skip to content

Commit 18f413c

Browse files
authored
[easy][global] Fix tests when global pkgs exist DEV-1280 (#673)
## Summary TSIA ## How was it tested? devbox run test
1 parent e5b739b commit 18f413c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/impl/devbox_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ func testShellPlan(t *testing.T, testPath string) {
3535
baseDir := filepath.Dir(testPath)
3636
testName := fmt.Sprintf("%s_shell_plan", filepath.Base(baseDir))
3737
t.Run(testName, func(t *testing.T) {
38+
t.Setenv("XDG_DATA_HOME", "/tmp/devbox")
3839
assert := assert.New(t)
3940
shellPlanFile := filepath.Join(baseDir, "shell_plan.json")
4041
hasShellPlanFile := fileExists(shellPlanFile)

0 commit comments

Comments
 (0)