Chapter 9. Testing and debugging

This chapter covers

  • Creating a test environment that reflects the complexities of an isomorphic app
  • Using Enzyme to create unit tests for your React components
  • Using React Developer Tools to debug in the browser
  • Using Redux Dev Tools to debug in the browser

Have you ever worked in a code base that has lots of tests, but the tests break randomly, require constant updating, and never prevent you from creating regression errors? This situation is surprisingly easy to create when you have more than two developers working on a code base. Having a solid testing strategy and understanding where to draw the line between unit tests and integration tests is important for any app. But isomorphic apps have an additional ...

Get Isomorphic Web Applications now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.