tech/webdev magazine

June 10, 2018

Writing Snapshot Tests For React Components With Jest

Sunday, June 10, 2018 Teklinks

In this tutorial, we will be looking at what snapshot tests are and how we can use snapshot testing to ensure our User Interface does not change without the team knowing about it. Unlike strict Test Driven Development where the standard practice is to write failing tests first then write the code to make the tests pass, Snapshot testing takes a different approach.

Full article