Refactoring legacy code with Jest snapshots
2019-03-26
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.