kentcdodds / react-testing-library-course

Test React Components with Jest and React Testing Library on TestingJavaScript.com
https://testingjavascript.com/playlists/test-react-components-with-jest-and-react-testing-library-72cf
Other
1.09k stars 379 forks source link

Code for video doesn't match the code in the video #12

Closed BernardoFBBraga closed 4 years ago

BernardoFBBraga commented 4 years ago

The video https://testingjavascript.com/lessons/react-test-prop-updates-with-react-testing-library Links to the git file: https://github.com/kentcdodds/react-testing-library-course/blob/tjs/src/__tests__/prop-updates.js

Which is the code for the next video.

The difference is that in this stage you're using debug() to show the DOM.

Surely not a big issue, but I thought it'd be nice to give you a heads up. Thanks for the awesome content

kentcdodds commented 4 years ago

Thanks for this! I'll make sure that gets updated.