mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-18 05:20:48 +00:00
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