mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 15:28:27 +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(() => {
|
afterEach(() => {
|
||||||
vi.useRealTimers();
|
vi.useRealTimers();
|
||||||
execSyncMock.mockReset();
|
execSyncMock.mockClear().mockImplementation(() => undefined);
|
||||||
execFileSyncMock.mockReset();
|
execFileSyncMock.mockClear().mockImplementation(() => undefined);
|
||||||
delete process.env.CODEX_HOME;
|
delete process.env.CODEX_HOME;
|
||||||
resetCliCredentialCachesForTest();
|
resetCliCredentialCachesForTest();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user