test(snapshot): type the CLI detail comparison

Refs #7442

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
This commit is contained in:
gensokyo-devandgensokyo-dev authored and Ysopwnable committed 2026-11-14 14:06:23 +01:00
1 parent e6bcda9d45
commit c52bf54ce3
1 file changed
+1 -1
@@ -65,7 +65,7 @@ cliTest(
);
}
// MCP adds open-session facts; the snapshot reason must match exactly.
expect(mcpError.details).toMatchObject(cliError.details);
expect(mcpError.details).toMatchObject(cliError.details ?? {});
expect(await readFile(snapshot, "utf8")).toBe(encoded);
}
expect(