Function
props
(overrides: Partial<ExplainZoneProps> = {})
Source from the content-addressed store, hash-verified
| 54 | }); |
| 55 | |
| 56 | function props(overrides: Partial<ExplainZoneProps> = {}): ExplainZoneProps { |
| 57 | return { |
| 58 | tabs: ALL_ENABLED, |
| 59 | active: 'flow', |
| 60 | onSelect: vi.fn(), |
| 61 | open: true, |
| 62 | onToggle: vi.fn(), |
| 63 | height: 340, |
| 64 | children: <div data-testid="fake-panel" />, |
| 65 | ...overrides, |
| 66 | }; |
| 67 | } |
| 68 | |
| 69 | async function render(overrides: Partial<ExplainZoneProps> = {}): Promise<ExplainZoneProps> { |
| 70 | const next = props(overrides); |
Tested by
no test coverage detected