The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Use Jest's Snapshot Testing Feature

Use Jest's Snapshot Testing Feature

3:41
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.
Watch this lesson now
Avatar
egghead.io

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.

Avatar
Francisco

Hello Kent,

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

Cheers, thanks for the videos.

Avatar
Kent C.

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

In reply to Francisco
Avatar
dirakkk

Great lesson Kent.Thanks

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?