When to "Unstub" a Component in a Vue.js Unit Test - Vue.js Developers

To test a component in isolation you can replace it's children components by stubbing them. Vue Test Utils can automatically do this for you with a feature called shallowMount.

This is a companion discussion topic for the original entry at https://vuejsdevelopers.com/2019/09/30/stubs-vue-unit-test/