(overrides: Partial<GalaxyPanelProps> = {})
| 89 | }); |
| 90 | |
| 91 | function props(overrides: Partial<GalaxyPanelProps> = {}): GalaxyPanelProps { |
| 92 | return { |
| 93 | project: 'atlas-sample', |
| 94 | visible: false, |
| 95 | onOpenNode: vi.fn(), |
| 96 | fetch: sharedFetch as unknown as typeof fetch, |
| 97 | ...overrides, |
| 98 | }; |
| 99 | } |
| 100 | |
| 101 | async function render(next: GalaxyPanelProps): Promise<void> { |
| 102 | await act(async () => { |