diff --git a/src/main/ipc/preflight-agent-detection.test.ts b/src/main/ipc/preflight-agent-detection.test.ts index 919b5472065..15b7e74fa60 100644 --- a/src/main/ipc/preflight-agent-detection.test.ts +++ b/src/main/ipc/preflight-agent-detection.test.ts @@ -152,7 +152,10 @@ describe('preflight', () => { expect(isCommandOnLocalPathMock.mock.calls.map(([command]) => command)).not.toContain( 'kiro-cli' ) - expect(resolveCliCommandsMock).toHaveBeenCalledWith(expect.not.arrayContaining(['kiro-cli'])) + expect(resolveCliCommandsMock).toHaveBeenCalledWith( + expect.not.arrayContaining(['kiro-cli']), + { skipPathSearch: true } + ) isCommandOnLocalPathMock.mockClear() await expect(