Closed
Description
Version
1.0.0-beta.24
Reproduction link
https://github.com/ktsn/vue-test-utils-shallow-repro
Steps to reproduce
- clone the reproduction
npm i
npm t
You will see the test case is failing.
What is expected?
The Child.vue
component should be stubbed by shallowMount
.
What is actually happening?
The Child.vue
component is not stubbed and simply rendered as is.
The pattern which written in reproduction is an approach to deal with circular reference between components. It is stated in Vue.js official documentation. So I think it would be useful if we can handle such pattern on shallowMount
.