Skip to content

Commit d781672

Browse files
committed
🐛 fix(test): add cleanup hook to prevent RPC teardown errors on Windows (Zoo-Code-Org#632)
1 parent c4dee4c commit d781672

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/core/webview/__tests__/ClineProvider.flicker-free-cancel.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,4 +685,8 @@ describe("ClineProvider flicker-free cancel", () => {
685685
expect(createTaskWithHistoryItemSpy).not.toHaveBeenCalled()
686686
expect((provider as any).cancelledDelegationChildIds.has("child-1")).toBe(true)
687687
})
688+
689+
afterAll(() => {
690+
vi.restoreAllMocks()
691+
})
688692
})

0 commit comments

Comments
 (0)