Skip to content

Commit

Permalink
Add test for PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiou87 committed Jun 5, 2024
1 parent 6d20be8 commit 9875e76
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/fast/environment-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,9 @@ describe('environment variables', () => {
delete process.env.GIT_EXEC_PATH
}
})

it('resulting PATH contains the original PATH', async () => {
const { env } = await setupEnvironment({})
expect((<any>env)['PATH']).toContain(process.env.PATH)
})
})

0 comments on commit 9875e76

Please sign in to comment.