()
| 22 | const undoCb = vi.fn() |
| 23 | |
| 24 | const TestComponent: Component = () => { |
| 25 | createHotkeys([ |
| 26 | { hotkey: 'Mod+S', callback: saveCb, options: { platform: 'mac' } }, |
| 27 | { hotkey: 'Mod+Z', callback: undoCb, options: { platform: 'mac' } }, |
| 28 | ]) |
| 29 | return null |
| 30 | } |
| 31 | |
| 32 | render(() => <TestComponent />) |
| 33 |
nothing calls this directly
no test coverage detected
searching dependent graphs…