Mock custom hook in react 18 with jest 29
I’m currently trying to test my component that uses a custom hook, however I can’t seem to manually mock the custom hook used within the component.
I’m currently trying to test my component that uses a custom hook, however I can’t seem to manually mock the custom hook used within the component.