Fix launch readiness automation
This commit is contained in:
@@ -25,7 +25,11 @@ describe("configuration parsing integration", () => {
|
||||
if (!result.ok) throw new Error("unreachable");
|
||||
expect(result.value.hopperTargetPath).toBe("/usr/bin/true");
|
||||
expect(result.value.hopperTargetKind).toBe("executable");
|
||||
expect(result.value.hopperLoaderArgs).toEqual(["-l", "Mach-O", "--aarch64"]);
|
||||
expect(result.value.hopperLoaderArgs).toEqual([
|
||||
"-l",
|
||||
"Mach-O",
|
||||
"--aarch64",
|
||||
]);
|
||||
});
|
||||
|
||||
it("rejects target kind values outside the enum", () => {
|
||||
|
||||
@@ -82,10 +82,13 @@ describe("full MCP integration with multi-tool sequences", () => {
|
||||
});
|
||||
|
||||
it("preserves the complete 42-tool inventory with a session", async () => {
|
||||
const session = new BinarySession((_path) => ({
|
||||
callTool: () => Promise.resolve(ok(null)),
|
||||
close: () => Promise.resolve(),
|
||||
} satisfies BinaryClient));
|
||||
const session = new BinarySession(
|
||||
(_path) =>
|
||||
({
|
||||
callTool: () => Promise.resolve(ok(null)),
|
||||
close: () => Promise.resolve(),
|
||||
}) satisfies BinaryClient,
|
||||
);
|
||||
const server = createServer(
|
||||
{ callTool: () => Promise.resolve(ok(null)) },
|
||||
session,
|
||||
|
||||
Reference in New Issue
Block a user