test(agents): avoid full mock resets in cli credential specs
This commit is contained in:
@@ -63,8 +63,8 @@ describe("cli credentials", () => {
|
||||
|
||||
afterEach(() => {
|
||||
vi.useRealTimers();
|
||||
execSyncMock.mockReset();
|
||||
execFileSyncMock.mockReset();
|
||||
execSyncMock.mockClear().mockImplementation(() => undefined);
|
||||
execFileSyncMock.mockClear().mockImplementation(() => undefined);
|
||||
delete process.env.CODEX_HOME;
|
||||
resetCliCredentialCachesForTest();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user