Testing React Hooks With Enzyme and React Testing Library

1 · CSS-Tricks · Nov. 29, 2019, 4:15 p.m.
Summary
As you begin to make use of React hooks in your applications, you’ll want to be certain the code you write is nothing short of solid. There’s nothing like shipping buggy code. One way to be certain your code is bug-free is to write tests. And testing React hooks is not much different from how React applications are tested in general. In this tutorial, we will look at how to do that by making use of a to-do application built … Read article The post Testing React Hooks With Enzyme and React Testi...