Skip to content

Commit 7916589

Browse files
committed
🐛 fix(test): add cleanup hook to prevent RPC teardown errors on Windows (#632)
1 parent b4ba4b9 commit 7916589

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
@@ -513,4 +513,8 @@ describe("ClineProvider flicker-free cancel", () => {
513513
expect(createTaskWithHistoryItemSpy).not.toHaveBeenCalled()
514514
expect((provider as any).cancelledDelegationChildIds.has("child-1")).toBe(true)
515515
})
516+
517+
afterAll(() => {
518+
vi.restoreAllMocks()
519+
})
516520
})

0 commit comments

Comments
 (0)