diff --git a/src/main/providers/local-pty-utils.test.ts b/src/main/providers/local-pty-utils.test.ts index a1300d369e3..509b8c3075e 100644 --- a/src/main/providers/local-pty-utils.test.ts +++ b/src/main/providers/local-pty-utils.test.ts @@ -313,6 +313,10 @@ describe('spawnShellWithFallback macOS TCC login wrapping', () => { }) describe('spawnDirectPty', () => { + beforeEach(() => { + wrapSpawnMock.mockReset() + }) + it('passes the executable and argv through without shell or login wrapping', () => { const ptySpawn = vi.fn().mockReturnValue({ pid: 42 })