Skip to content

Commit

Permalink
Merge pull request #2989 from ActiveState/mitchell/dx-2427
Browse files Browse the repository at this point in the history
Propagate extra test session environment variables.
  • Loading branch information
mitchell-as authored Jan 5, 2024
2 parents d6c5306 + e73ba2a commit c4b2ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/testhelpers/e2e/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func New(t *testing.T, retainDirs bool, extraEnv ...string) *Session {
func new(t *testing.T, retainDirs, updatePath bool, extraEnv ...string) *Session {
dirs, err := NewDirs("")
require.NoError(t, err)
env := sandboxedTestEnvironment(t, dirs, updatePath)
env := sandboxedTestEnvironment(t, dirs, updatePath, extraEnv...)

session := &Session{Dirs: dirs, Env: env, retainDirs: retainDirs, T: t}

Expand Down

0 comments on commit c4b2ad0

Please sign in to comment.