Test Component

πŸ‘¨β€πŸ’Ό I don't know about you, but I really could go either way on this one. So Kellie πŸ§β€β™‚οΈ and I flipped a coin and we chose the Test Component approach. We feel it resembles the way the hook should be used more closely.
If you'd like to add more tests for the component, feel free! πŸ§β€β™‚οΈ Kellie is going to remove the renderHook tests and add more tests using the Test Component. You can check out in the diff.
πŸ§β€β™‚οΈ I'll also be starting another test for us to work on in the next exercise.

Access Denied

You must login or register for the workshop to view and run the tests.

Check out this video to see how the test tab works.