{"action":"opened","issue":{"url":"https://api.github.com/repos/vuejs/vue-test-utils/issues/959","repository_url":"https://api.github.com/repos/vuejs/vue-test-utils","labels_url":"https://api.github.com/repos/vuejs/vue-test-utils/issues/959/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-test-utils/issues/959/comments","events_url":"https://api.github.com/repos/vuejs/vue-test-utils/issues/959/events","html_url":"https://github.com/vuejs/vue-test-utils/issues/959","id":357890834,"node_id":"MDU6SXNzdWUzNTc4OTA4MzQ=","number":959,"title":"shallowMount will not stubs lazily registered components","user":{"login":"ktsn","id":2194624,"node_id":"MDQ6VXNlcjIxOTQ2MjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2194624?v=4","gravatar_id":"","url":"https://api.github.com/users/ktsn","html_url":"https://github.com/ktsn","followers_url":"https://api.github.com/users/ktsn/followers","following_url":"https://api.github.com/users/ktsn/following{/other_user}","gists_url":"https://api.github.com/users/ktsn/gists{/gist_id}","starred_url":"https://api.github.com/users/ktsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktsn/subscriptions","organizations_url":"https://api.github.com/users/ktsn/orgs","repos_url":"https://api.github.com/users/ktsn/repos","events_url":"https://api.github.com/users/ktsn/events{/privacy}","received_events_url":"https://api.github.com/users/ktsn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-07T01:56:43Z","updated_at":"2018-09-07T01:56:43Z","closed_at":null,"author_association":"MEMBER","body":"### Version\r\n1.0.0-beta.24\r\n\r\n### Reproduction link\r\n[https://github.com/ktsn/vue-test-utils-shallow-repro](https://github.com/ktsn/vue-test-utils-shallow-repro)\r\n\r\n\r\n\r\n\r\n\r\n### Steps to reproduce\r\n1. clone the reproduction\r\n2. `npm i`\r\n3. `npm t`\r\n\r\nYou will see the test case is failing.\r\n\r\n### What is expected?\r\nThe `Child.vue` component should be stubbed by `shallowMount`.\r\n\r\n### What is actually happening?\r\nThe `Child.vue` component is not stubbed and simply rendered as is.\r\n\r\n---\r\nThe pattern which written in reproduction is an approach to deal with circular reference between components. It is stated in [Vue.js official documentation](https://vuejs.org/v2/guide/components-edge-cases.html#Circular-References-Between-Components). So I think it would be useful if we can handle such pattern on `shallowMount`.\r\n\r\n<!-- generated by vue-issues. DO NOT REMOVE -->"}}
{"actor":{"display_login":"ktsn"}}