Skip to content

Commit 8c892e0

Browse files
committed
test: fix dts tests for 1ccecc0
1 parent 25a0d4a commit 8c892e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test-dts/defineComponent.test-d.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,12 @@ describe('type inference w/ options API', () => {
249249

250250
describe('compatibility w/ createApp', () => {
251251
const comp = defineComponent({})
252-
createApp().mount(comp, '#hello')
252+
createApp(comp).mount('#hello')
253253

254254
const comp2 = defineComponent({
255255
props: { foo: String }
256256
})
257-
createApp().mount(comp2, '#hello')
257+
createApp(comp2).mount('#hello')
258258

259259
const comp3 = defineComponent({
260260
setup() {
@@ -263,7 +263,7 @@ describe('compatibility w/ createApp', () => {
263263
}
264264
}
265265
})
266-
createApp().mount(comp3, '#hello')
266+
createApp(comp3).mount('#hello')
267267
})
268268

269269
describe('defineComponent', () => {

0 commit comments

Comments
 (0)