mirror of https://github.com/openclaw/openclaw.git
test(agents): avoid full mock resets in cli credential specs
This commit is contained in:
parent
2b63592be5
commit
cf570d3b44
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue