3 Minutes With Kent

When to use Snapshots

Informações:

Sinopse

I get a lot of questions (https://github.com/kentcdodds/ama/issues/275) about when it's appropriate to use Jest snapshot testing, or why you wouldn't use snapshots for pretty much everything. This brief is my answer. If you're unfamiliar with Jest snapshot testing, it's really great and you can learn about what it is and how it works here (https://egghead.io/lessons/javascript-use-jest-s-snapshot-testing-feature?pl=testing-javascript-with-jest-a36c4074). I hope this is helpful! See you around!