fix failing tests

This commit is contained in:
Nate 2025-08-31 18:29:58 -07:00
parent 13876a2402
commit 39dde5a460

View file

@ -117,7 +117,7 @@ describe("TUIChat - Interruption UI (Minimal Test)", () => {
stdin.write("\r");
// Should call onSubmit with empty string (for resume)
expect(mockOnSubmit).toHaveBeenCalledWith("");
expect(mockOnSubmit).toHaveBeenCalledWith("", expect.any(Map));
} finally {
unmount();
}
@ -145,6 +145,7 @@ describe("TUIChat - Interruption UI (Minimal Test)", () => {
// Should call onSubmit with the typed content
expect(mockOnSubmit).toHaveBeenCalledWith(
"New message after interruption",
expect.any(Map),
);
} finally {
unmount();