mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-04 11:01:16 +01:00
test(ui): retire 33 duplicate executions and share render setup (#16072)
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
f64d05adf4
commit
ccbfefef5f
59 files changed
+6112
-1038
No files matched your search
@@ -1715,14 +1715,6 @@ describe("interstitial self-talk classification (PAP-355)", () => {
|
||||
if (m.kind !== "message") continue;
|
||||
expect(m.interstitial).toBe(true);
|
||||
}
|
||||
});
|
||||
|
||||
it("marks only the message still open at the tail as streaming", () => {
|
||||
const items = transcriptToTaskChatItems(stream, {
|
||||
runId: "run-1",
|
||||
running: true,
|
||||
});
|
||||
const messages = items.filter((it) => it.kind === "message");
|
||||
if (messages[0].kind !== "message" || messages[1].kind !== "message")
|
||||
return;
|
||||
// The first message was closed by the tool call — finished self-talk.
|
||||
@@ -1751,13 +1743,6 @@ describe("interstitial self-talk classification (PAP-355)", () => {
|
||||
expect(m.interstitial).toBe(true);
|
||||
expect(m.streaming).toBe(false);
|
||||
}
|
||||
});
|
||||
|
||||
it("stamps atMs from the first streamed chunk", () => {
|
||||
const messages = transcriptToTaskChatItems(stream, {
|
||||
runId: "run-1",
|
||||
running: false,
|
||||
}).filter((it) => it.kind === "message");
|
||||
if (messages[0].kind !== "message" || messages[1].kind !== "message")
|
||||
return;
|
||||
expect(messages[0].atMs).toBe(Date.parse(TS));
|
||||
|
||||
Reference in new issue
Block a user