Refactoring legacy code with Jest snapshots


In this article I look at some of the downsides to snapshot testing and why it generally isn't the best approach for your long-term testing strategy. I then share an appropriate use-case for snapshot testing to help when refactoring legacy code.

Read the full article on LogRocket.