### Version 1.0.0-beta.23 ### Reproduction link [https://gitlab/mygroup/myproject](https://gitlab/mygroup/myproject) ### Steps to reproduce **Parent.spec.js** ```js import { shallowMount } from "@vue/test-utils"; import { expect } from "chai"; import { Parent, Child } from "@/components"; describe("Parent.vue", function() { it("contains Child", () => { expect(shallowMount(Parent).contains(Child)).to.be.true; }); }); ``` **Parent.vue**: ```vue <template> <Child /> </template> <script> export default { components: { Child: () => import("@/components/Child") } } </script> ``` ### What is expected? The tests should pass (like they did in `1.0.0-beta.20`). ### What is actually happening? ``` 1) Parent.vue contains Child: AssertionError: expected false to be true expected - actual -false true ``` <!-- generated by vue-issues. DO NOT REMOVE -->