style: italicize reasoning output

This commit is contained in:
Peter Steinberger
2026-01-12 21:24:19 +00:00
parent cd12ad8aab
commit 490cb834e5
4 changed files with 11 additions and 9 deletions

View File

@@ -286,7 +286,7 @@ describe("runHeartbeatOnce", () => {
};
replySpy.mockResolvedValue([
{ text: "Reasoning:\nBecause it helps" },
{ text: "Reasoning:\n_Because it helps_" },
{ text: "Final alert" },
]);
const sendWhatsApp = vi.fn().mockResolvedValue({
@@ -309,7 +309,7 @@ describe("runHeartbeatOnce", () => {
expect(sendWhatsApp).toHaveBeenNthCalledWith(
1,
"+1555",
"Reasoning:\nBecause it helps",
"Reasoning:\n_Because it helps_",
expect.any(Object),
);
expect(sendWhatsApp).toHaveBeenNthCalledWith(
@@ -361,7 +361,7 @@ describe("runHeartbeatOnce", () => {
};
replySpy.mockResolvedValue([
{ text: "Reasoning:\nBecause it helps" },
{ text: "Reasoning:\n_Because it helps_" },
{ text: "HEARTBEAT_OK" },
]);
const sendWhatsApp = vi.fn().mockResolvedValue({
@@ -384,7 +384,7 @@ describe("runHeartbeatOnce", () => {
expect(sendWhatsApp).toHaveBeenNthCalledWith(
1,
"+1555",
"Reasoning:\nBecause it helps",
"Reasoning:\n_Because it helps_",
expect.any(Object),
);
} finally {