Once we add tests for all the use cases of our hook, we’ll notice a bunch of common setup, so let’s put that in a setup function.
Once we add tests for all the use cases of our hook, we’ll notice a bunch of common setup, so let’s put that in a setup function.