Function
props
(overrides: Partial<SelectedCodePanelProps> = {})
Source from the content-addressed store, hash-verified
| 23 | }); |
| 24 | |
| 25 | function props(overrides: Partial<SelectedCodePanelProps> = {}): SelectedCodePanelProps { |
| 26 | return { |
| 27 | filePath: 'src/services/userService.ts', |
| 28 | symbol: CREATE_USER_IR.symbol, |
| 29 | ir: CREATE_USER_IR, |
| 30 | status: 'ready', |
| 31 | pinned: false, |
| 32 | onTogglePin: vi.fn(), |
| 33 | onAsk: vi.fn(), |
| 34 | onShowGraph: vi.fn(), |
| 35 | onFollow: vi.fn(), |
| 36 | ...overrides, |
| 37 | }; |
| 38 | } |
| 39 | |
| 40 | async function render(overrides: Partial<SelectedCodePanelProps> = {}) { |
| 41 | const value = props(overrides); |
Tested by
no test coverage detected