From 0686b07546d0e2bdc01ff936c5ba7678b045bece Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Wed, 14 Oct 2026 19:23:11 +0800 Subject: [PATCH] test(doctor): retain discovered Hopper paths despite version failures --- tests/boundary/cli/doctorHopperDiscovery.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/boundary/cli/doctorHopperDiscovery.test.ts b/tests/boundary/cli/doctorHopperDiscovery.test.ts index 1cddbbbb08..12df465d77 100644 --- a/tests/boundary/cli/doctorHopperDiscovery.test.ts +++ b/tests/boundary/cli/doctorHopperDiscovery.test.ts @@ -62,7 +62,7 @@ cliTest.skipIf(!["darwin", "linux"].includes(process.platform))( expect(result.json).toMatchObject({ healthy: hopperReady, environment_healthy: false, - ...(hopperReady ? { hopperPath: launcher } : {}), + hopperPath: launcher, checks: expect.arrayContaining([ expect.objectContaining({ name: "hopper", @@ -83,7 +83,6 @@ cliTest.skipIf(!["darwin", "linux"].includes(process.platform))( : []), ]), }); - if (!hopperReady) expect(result.json).not.toHaveProperty("hopperPath"); await expect(access(launchMarker)).rejects.toMatchObject({ code: "ENOENT", });