From: Evan You Date: Sun, 26 Jan 2020 03:21:06 +0000 (-0500) Subject: test: fix dts tests for 1ccecc0 X-Git-Tag: v3.0.0-alpha.4~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c892e03925884bf4ff5b201e98cf029cd48c182;p=thirdparty%2Fvuejs%2Fcore.git test: fix dts tests for 1ccecc0 --- diff --git a/test-dts/defineComponent.test-d.tsx b/test-dts/defineComponent.test-d.tsx index a6393dd15b..417df9d1a5 100644 --- a/test-dts/defineComponent.test-d.tsx +++ b/test-dts/defineComponent.test-d.tsx @@ -249,12 +249,12 @@ describe('type inference w/ options API', () => { describe('compatibility w/ createApp', () => { const comp = defineComponent({}) - createApp().mount(comp, '#hello') + createApp(comp).mount('#hello') const comp2 = defineComponent({ props: { foo: String } }) - createApp().mount(comp2, '#hello') + createApp(comp2).mount('#hello') const comp3 = defineComponent({ setup() { @@ -263,7 +263,7 @@ describe('compatibility w/ createApp', () => { } } }) - createApp().mount(comp3, '#hello') + createApp(comp3).mount('#hello') }) describe('defineComponent', () => {