jest-react-hooks-shallow
jest-react-hooks-shallow copied to clipboard
Possible way to get around mount issues
i'm guessing you don't want to tie this library to enzyme, but if you did, you could spy on mount and basically change it to
withoutHooks(() => {
originalMount(...)
});