Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test(mcp-host): check the dashboard draws its charts before checking how

marcoteb1014a7982729
diff --git a/mcp-host/src/workflow/__tests__/internalTools.dashboard.page.test.ts b/mcp-host/src/workflow/__tests__/internalTools.dashboard.page.test.ts
index 52e35b0d4..237db9be3 100644
--- a/mcp-host/src/workflow/__tests__/internalTools.dashboard.page.test.ts
+++ b/mcp-host/src/workflow/__tests__/internalTools.dashboard.page.test.ts
@@ -244,6 +244,7 @@ describe('page script', () => {
it('draws without animation so a print or PDF capture shows finished charts', async () => {
const html = await page(TWO_CHARTS_AND_A_SPARKLINE)
const run = runPageScript(html, { vars: LIGHT })
+ expect(run.charts.size).toBe(3)
for (const chart of run.charts.values()) expect(chart.config.options.animation).toBe(false)
})