Adding a Message Component
Explore how to test multiple Vue.js components as a unit by adding a Message component and integrating it with MessageList. Understand when to use shallow rendering and how to ensure presentational components behave correctly together.
We'll cover the following...
We'll cover the following...
So far, we’ve learned how to use Shallow Rendering to test a component in isolation, preventing the component sub-tree from rendering.
But in some cases, we want to test components that behave as a ...