Testing Lists and Dynamic Content

Testing lists of data or dynamic content is not much different from the previous lessons.

You will probably load the data via a fetch call (covered in a later lesson) or pass them in via props.

In this lesson we will go over some tips and tricks that are useful when testing this sort of component.

Loading full lesson content & code...

Ready to try running tests for this lesson?