Function
props
(overrides: Partial<SplitterProps> = {})
Source from the content-addressed store, hash-verified
| 35 | }); |
| 36 | |
| 37 | function props(overrides: Partial<SplitterProps> = {}): SplitterProps { |
| 38 | return { |
| 39 | testId: 'atlas-split-left', |
| 40 | orientation: 'vertical', |
| 41 | label: 'width of the explorer', |
| 42 | value: 260, |
| 43 | min: 180, |
| 44 | max: 520, |
| 45 | onChange: vi.fn(), |
| 46 | onReset: vi.fn(), |
| 47 | ...overrides, |
| 48 | }; |
| 49 | } |
| 50 | |
| 51 | async function render(overrides: Partial<SplitterProps> = {}): Promise<SplitterProps> { |
| 52 | const next = props(overrides); |
Tested by
no test coverage detected