loading...
Cover image for React testing series - react-testing-library, Nock and Mastering Jest

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

softchris profile image Chris Noring Updated on ・1 min read

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

Posted on by:

softchris profile

Chris Noring

@softchris

https://twitter.com/chris_noring Cloud Developer Advocate at Microsoft, Google Developer Expert

Discussion

markdown guide
 

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

 

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