mirror of
https://github.com/stablyai/orca.git
synced 2026-10-02 00:02:05 +00:00
test(pty): isolate direct spawn wrapper assertion
This commit is contained in:
@@ -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 })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user