1. 6
    Use Jest's Snapshot Testing Feature
    3m 41s

Use Jest's Snapshot Testing Feature

InstructorKent C. Dodds

Share this video with your friends

Send Tweet

Often when testing, you use the actual result to create your assertion and have to manually update it as you make changes to the feature. With Jest snapshot testing, you can let Jest do this part for you and write more tests and features faster and with more confidence. Let's learn about how you can use Jest snapshot testing to improve your own workflow.

Francisco
~ 8 years ago

Hello Kent,

Where does react-test-renderer come from? do I need to npm install it?

Cheers, thanks for the videos.

Kent C. Doddsinstructor
~ 8 years ago

Yes. I used that primarily for demonstration purposes. I plan to have a React-specific course eventually.

dirakkk
~ 8 years ago

Great lesson Kent.Thanks