mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 12:40:20 +00:00
test(plugins): use lightweight clears in wired hooks setup
This commit is contained in:
@@ -39,9 +39,9 @@ describe("createPtyAdapter", () => {
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
spawnMock.mockReset();
|
||||
ptyKillMock.mockReset();
|
||||
killProcessTreeMock.mockReset();
|
||||
spawnMock.mockClear();
|
||||
ptyKillMock.mockClear();
|
||||
killProcessTreeMock.mockClear();
|
||||
vi.useRealTimers();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user