test: expect native context from local PTY

This commit is contained in:
Jinwoo Hong
2026-07-19 16:04:05 -07:00
parent ca7b9fb04e
commit d7dc7e9f25
+1 -1
View File
@@ -10746,7 +10746,7 @@ describe('registerPtyHandlers', () => {
worktreeId: 'repo-1::/tmp'
})
expect(result).toEqual({ id: expect.any(String), pid: 12345 })
expect(result).toEqual({ id: expect.any(String), pid: 12345, wslDistro: null })
expect(spawnMock).toHaveBeenCalledTimes(1)
expect(spawnMock).toHaveBeenCalledWith(
'/bin/zsh',