How to test async React hooks
Hooks are a great place to outsource component logic. And as a side-effect it makes writing unit-tests super easy
Tags: react, jest, unittests, tdd