Skip to content

Commit ea7adea

Browse files
committed
test(web): remove obsolete Mermaid warmup
1 parent 62aae41 commit ea7adea

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

‎apps/web/src/components/chat/MessagesTimeline.browser.test.tsx‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@ vi.mock(import("~/state/query"), async (original) => ({
4343
})) as never,
4444
}));
4545

46-
// The first Mermaid render loads the library and its flowchart chunks, which took over
47-
// 10 seconds on a busy release runner. Pay that while the file loads, not inside a test.
48-
{
49-
const { default: mermaid } = await import("mermaid");
50-
mermaid.initialize({ startOnLoad: false });
51-
await mermaid.render("mermaid-warmup", "flowchart LR\n A --> B");
52-
document.getElementById("dmermaid-warmup")?.remove();
53-
}
54-
5546
const ENVIRONMENT_ID = EnvironmentId.make("environment-local");
5647
const CREATED_AT = "2026-03-17T19:12:28.000Z";
5748

0 commit comments

Comments
 (0)