fix(analysis): accept valid final dossier pages

This commit is contained in:
morluto
2026-07-13 03:38:15 +00:00
parent c630f410b6
commit 7c36f36318
2 changed files with 2 additions and 17 deletions
+2 -6
View File
@@ -568,7 +568,7 @@ describe("enhanced MCP tools", () => {
);
});
it("rejects complete dossier collections with inflated totals", async () => {
it("accepts a final dossier page whose total exceeds returned", async () => {
const malformedPort = fixturePort();
const client = await connect({
execute: async (name, arguments_, options) => {
@@ -597,10 +597,6 @@ describe("enhanced MCP tools", () => {
name: "analyze_function",
arguments: { procedure: "0x1" },
});
expect(result.isError).toBe(true);
const text = result.content.find((item) => item.type === "text");
expect(text?.type === "text" ? text.text : "").toContain(
"AnalysisOutputError",
);
expect(result.isError).not.toBe(true);
});
});