Skip to content

Commit c253788

Browse files
committed
test(cli): isolate OAuth process fixtures from credential overrides
1 parent 8a7ab21 commit c253788

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/sim-cli/src/auth/refresh.process.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ afterAll(() => rmSync(buildDir, { recursive: true, force: true }))
6868
beforeEach(() => {
6969
configDir = mkdtempSync(join(tmpdir(), 'sim-oauth-process-config-'))
7070
vi.stubEnv('SIM_CONFIG_DIR', configDir)
71+
vi.stubEnv('SIM_CONFIG_FILE', undefined)
72+
vi.stubEnv('SIM_CREDENTIALS_FILE', undefined)
7173
})
7274
afterEach(() => {
7375
for (const child of children) child.kill('SIGKILL')

0 commit comments

Comments
 (0)