This video explains how to test more complex scenarios that snapshots don't cover, such as callbacks executions.
If you're familiar with the JQuery API,…you'll find the Enzyme API quite simple,…because what Enzyme did was to mimic JQuery's API…for DOM manipulation and traversal.…When working with Enzyme,…we should always install an adapter for that particular…React version we are using.…In our particular case we are using React 16.…So in addition to Enzyme, we will also have to…install the Enzyme Adapter.…To make Enzyme work with Jest,…in addition of installing the Adapter,…we have to also create a unique script and add it…
- 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.js: Building an Interface (2016)with Ray Villalobos1h 21m 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.