(api = source(), onOpenProjects = vi.fn(), project = 'fixture-a', configuration?: SystemWorkspaceProps['configuration'], listProjects?: SystemWorkspaceProps['listProjects'])
| 19 | await act(async () => { button?.click(); }); |
| 20 | }; |
| 21 | const render = async (api = source(), onOpenProjects = vi.fn(), project = 'fixture-a', configuration?: SystemWorkspaceProps['configuration'], listProjects?: SystemWorkspaceProps['listProjects']) => { |
| 22 | await act(async () => { root.render(<SystemWorkspace api={api} onOpenProjects={onOpenProjects} pollMs={100} project={project} configuration={configuration} listProjects={listProjects} />); }); |
| 23 | return api; |
| 24 | }; |
| 25 | |
| 26 | beforeEach(() => { |
| 27 | vi.useFakeTimers(); |
no test coverage detected