HIDE PLAYLIST

React Testing: Conditional className with Shallow Rendering


Often our components have output that shows differently depending on the props it is given; in this lesson, we go over how to compare the className prop element tree output based on conditional input.