12 Test Async React Components

Опубликовано: 16 Март 2026
на канале: Javid Code
797
like

Code examples for this lesson on github

Clarification: I mentioned using not using 1 second in setTimeout when mocking network calls and using zero, what ACTUALLY you would do is not using setTimeout at all and resolve immediately.


https://github.com/askeroff/testing-r...

Mentioned in the video:
Mutation Observer - https://developer.mozilla.org/en-US/d...

dom-testing-library (wait and waitForElement) - https://github.com/kentcdodds/dom-tes...