Testing MessageList with Message Component
In this lesson, we will test components with Deep Rendering.
We'll cover the following
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 1400+ tech skills courses.