Testing CartItem component
So far in this module the only components we've unit tested are our views. So let's do something different now and write some tests for our CartItem component.
Testing this component will allow us to re-inforce what we've learned so far about unit testing Vue components, plus, we'll learn how to pass props to test components and also test form inputs.
Click to load comments...