Improving our tests with react-testing-library

react-testing-library is a set of utilities that helps us write maintainable tests for React components. It focuses heavily on helping us remove implementation details from our test code.

We'll use this library to remove the CSS class references in our test code, and also the tight coupling to React's event system.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.30.162