Testing MessageList with Message Component

In this lesson, we will test components with Deep Rendering.

Testing Components Using Deep Rendering

Step 1:

To test MessageList with Deep Rendering, we just need to use mount instead of shallowMount from the previously created test/MessageList.test.js:

Get hands-on with 1200+ tech skills courses.