mirror of
https://github.com/morluto/rea.git
synced 2026-11-14 18:52:48 +00:00
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:
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(
|
||||
|
||||
Reference in new issue
Block a user