test(plugins): use lightweight clears in wired hooks setup

This commit is contained in:
Peter Steinberger
2026-02-22 07:47:01 +00:00
parent 9df896e5b9
commit 4ddaafee68
3 changed files with 9 additions and 9 deletions

View File

@@ -39,9 +39,9 @@ describe("createPtyAdapter", () => {
});
beforeEach(() => {
spawnMock.mockReset();
ptyKillMock.mockReset();
killProcessTreeMock.mockReset();
spawnMock.mockClear();
ptyKillMock.mockClear();
killProcessTreeMock.mockClear();
vi.useRealTimers();
});