diff --git a/tests/ui/agent-panel.test.tsx b/tests/ui/agent-panel.test.tsx index 3a6fc76..2e5cca4 100644 --- a/tests/ui/agent-panel.test.tsx +++ b/tests/ui/agent-panel.test.tsx @@ -18,9 +18,9 @@ function renderPanel( sessionId?: string | null connected?: boolean configured?: boolean - onHide?: ReturnType + onHide?: () => void } = {} -): { fake: FakeApi; onOpenSettings: ReturnType; onHide?: ReturnType } { +): { fake: FakeApi; onOpenSettings: ReturnType; onHide?: () => void } { const fake = installFakeApi() if (overrides.configured === false) { fake.mocks.agent.status.mockResolvedValue({