You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like [mount](../api/#mount), it creates a [Wrapper](../api/wrapper) that contains the mounted and rendered Vue component, but with stubbed child components.
29
29
30
+
Notice that using `shallowMount` will make the component under testing different from the component you run in your application – some of its parts won't be rendered! This is why it is not the suggested way of testing components unless you face performance issues or need to simplify test arrangements.
31
+
30
32
### Lifecycle Hooks
31
33
32
34
<divclass="vueschool"style="margin-top:1em;"><ahref="https://vueschool.io/lessons/learn-how-to-test-vuejs-lifecycle-methods?friend=vuejs"target="_blank"rel="sponsored noopener"title="Learn how to use Vue Test Utils to test Vue.js Lifecycle Hooks with Vue School">Learn how to test lifecycle methods and intervals with Vue School</a></div>
0 commit comments