({children})
| 53 | test('allows wrapper components', async () => { |
| 54 | const Context = React.createContext('default') |
| 55 | function Wrapper({children}) { |
| 56 | return <Context.Provider value="provided">{children}</Context.Provider> |
| 57 | } |
| 58 | const {result} = renderHook( |
| 59 | () => { |
| 60 | return React.useContext(Context) |
nothing calls this directly
no test coverage detected
searching dependent graphs…