how to assert that your custom hook didn’t throw
This micro blog entry is for those who: use renderHook from @testing-library/react-hooks to test their own custom hooks want to assert that the custom hook did not throw So, by instinct, one probably would do sth along this line: The reason why the above approach doesn’t work is quite obvious, if you think about it. […]
Read More how to assert that your custom hook didn’t throw