style(hopper): format startup diagnostic expectations

This commit is contained in:
morluto
2026-10-14 06:20:35 +08:00
parent 70c238e376
commit 0161a593e5
+5 -8
View File
@@ -90,11 +90,8 @@ it.each([
text: `${notFound.stderr.text}another failure\n`, text: `${notFound.stderr.text}another failure\n`,
}, },
}, },
])( ])("rejects other not-found diagnostic shapes: %j", (change) => {
"rejects other not-found diagnostic shapes: %j", expect(
(change) => { hopperLauncherReportedApplicationNotFound({ ...notFound, ...change }),
expect( ).toBe(false);
hopperLauncherReportedApplicationNotFound({ ...notFound, ...change }), });
).toBe(false);
},
);