test: use fixture for heartbeat boilerplate case
This commit is contained in:
parent
d6b5891c2a
commit
2d826de3c9
@ -1729,10 +1729,12 @@ describe("compaction-safeguard double-compaction guard", () => {
|
||||
|
||||
it("treats markup-wrapped heartbeat tokens as boilerplate", () => {
|
||||
expect(
|
||||
__testing.hasMeaningfulConversationContent({
|
||||
role: "assistant",
|
||||
content: "<b>HEARTBEAT_OK</b>",
|
||||
} as AgentMessage),
|
||||
__testing.hasMeaningfulConversationContent(
|
||||
castAgentMessage({
|
||||
role: "assistant",
|
||||
content: "<b>HEARTBEAT_OK</b>",
|
||||
}),
|
||||
),
|
||||
).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user