chore: Fix types in tests 41/N.

This commit is contained in:
cpojer
2026-02-17 15:48:16 +09:00
parent 3dc8d5656d
commit 6264c5e842
17 changed files with 81 additions and 43 deletions

View File

@@ -10,7 +10,11 @@ const runtime = {
exit: vi.fn(),
};
const defaultSessions = { path: "/tmp/sessions.json", count: 0, recent: [] };
const defaultSessions: HealthSummary["sessions"] = {
path: "/tmp/sessions.json",
count: 0,
recent: [],
};
const createMainAgentSummary = (sessions = defaultSessions) => ({
agentId: "main",