({
children,
kittyProtocolEnabled = true,
}: {
children: React.ReactNode;
kittyProtocolEnabled?: boolean;
})
| 90 | const mockSetRawMode = vi.fn(); |
| 91 | |
| 92 | const wrapper = ({ |
| 93 | children, |
| 94 | kittyProtocolEnabled = true, |
| 95 | }: { |
| 96 | children: React.ReactNode; |
| 97 | kittyProtocolEnabled?: boolean; |
| 98 | }) => ( |
| 99 | <KeypressProvider kittyProtocolEnabled={kittyProtocolEnabled}> |
| 100 | {children} |
| 101 | </KeypressProvider> |
| 102 | ); |
| 103 | |
| 104 | beforeEach(() => { |
| 105 | vi.clearAllMocks(); |
no outgoing calls
no test coverage detected