DEV Community

Cover image for React testing series - react-testing-library, Nock and Mastering Jest
Chris Noring
Chris Noring

Posted on • Edited on

React testing series - react-testing-library, Nock and Mastering Jest

Follow me on Twitter, happy to take your suggestions on topics or improvements /Chris

This is a three part series consisting of the following:

  • Using react-testing-library to test the component surface, This great library by Kent Dodds shows how you can focus on testing the surface of your components instead of its internals
  • Jest fundamentals, this is a really great library that makes the testing experience really enjoyable. Zero config, snapshots, smart defaults when it comes to mocking and limit what you with test using patterns in the Jest CLI
  • Nock, is a great library that makes mocking HTTP calls really easy

Top comments (2)

Collapse
 
drankolq profile image
Daniel Luque Quintana

Hey Chris, thanks for the posts! It looks like the Jest fundamentals and Nock links are broken 😅

Collapse
 
softchris profile image
Chris Noring

hi Daniel. Appreciate your comment, links should be fixed now :)