Learn an easy and maintainable way of testing React components.
Then every time that that test runs again,…it will compare the output with the file content…and decide whether the test was successful or failure.…If the test output matches the file content,…we will say that the test was successful.…If it doesn't, the test would fail.…Pretty easy right?…This is how a snapshot test failure looks using Jest.…As you can see Jest tell us that expected value didn't match…to the one stored in the file.…
- Structuring React projects
- Creating and mounting the root component
- Composing components for more complex UI
- Using state to making components dynamic
Skill Level Intermediate
React: Managing Complex Interactionswith Emmanuel Henri1h 45m Intermediate
1. How to Structure React Projects
2. Diving into the First Components
3. Styling Made Easy
5. Painless Components Testing
Configure Jest5m 44s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.