Skip to content

armgit / rea

Public Imported from GitHub
0

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

test(mcp): preserve coverage in unchanged function fixtures

morluto3ee6ff43c169
diff --git a/tests/boundary/mcp/functionComparisonMcp.test.ts b/tests/boundary/mcp/functionComparisonMcp.test.ts
index 429bca334..8ec10f402 100644
--- a/tests/boundary/mcp/functionComparisonMcp.test.ts
+++ b/tests/boundary/mcp/functionComparisonMcp.test.ts
@@ -37,6 +37,9 @@ describe("function comparison reconstruction MCP integration", () => {
result: left.normalized_result,
confidence: left.confidence,
authority: left.authority,
+ ...(left.relationship_coverage === null
+ ? {}
+ : { relationshipCoverage: left.relationship_coverage }),
},
);
const server = createServer({ kind: "session", session });