test(hopper): cover verified Linux rejection

This commit is contained in:
N0zoM1z0
2026-07-14 21:15:06 +00:00
parent e27f635b73
commit e67d77c8c9
2 changed files with 128 additions and 99 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ describe("production stdio runtime", () => {
name: "current_document",
arguments: {},
});
expect(result.isError).not.toBe(true);
expect(result.isError === true).toBe(process.platform === "linux");
} finally {
await client.close();
await transport.close();
@@ -53,7 +53,7 @@ describe("production stdio runtime", () => {
mode: "mcp",
layer: "server",
tool: "current_document",
status: "ok",
status: process.platform === "linux" ? "error" : "ok",
}),
);
expect(stderr).not.toContain("HOPPER_LOADER_ARGS_JSON");