(props: { on: boolean; project?: string; fetch: typeof globalThis.fetch })
| 28 | }); |
| 29 | |
| 30 | function Consumer(props: { on: boolean; project?: string; fetch: typeof globalThis.fetch }): null { |
| 31 | stream = useAgentStream(props); |
| 32 | return null; |
| 33 | } |
| 34 | |
| 35 | it('does not connect when off and always polls the current daemon, never a bridge', async () => { |
| 36 | const fetch = vi.fn().mockResolvedValue(page([], 0)); |
nothing calls this directly
no test coverage detected