test(pty): isolate direct spawn wrapper assertion

This commit is contained in:
Merge Sim
2026-08-31 14:08:01 -07:00
parent b94f924835
commit e4e64551fb
@@ -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 })