DEV Community

Discussion on: Why I've Stopped Writing Snapshots Tests in Jest

Collapse
 
dorshinar profile image
Dor Shinar

Yes exactly. Plus updating a snapshot solved all the problems in the test - what if there are 2 faults? A regular test would contain 2 expects that will fail independently, and fixing one might not be enough.