Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

test(doctor): retain discovered Hopper paths despite version failures

morluto0686b07546d0
diff --git a/tests/boundary/cli/doctorHopperDiscovery.test.ts b/tests/boundary/cli/doctorHopperDiscovery.test.ts
index 1cddbbbb0..12df465d7 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",
});