[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2024-10-22 07:07:58 +00:00 committed by GitHub
parent 34edbe4e33
commit 64e32e79bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -254,16 +254,16 @@ describe('compat: render function', () => {
})
test('convert extends render Fn', () => {
const BaseComponent = {
render: (h: any) => h('div', null, ['hello'])
render: (h: any) => h('div', null, ['hello']),
}
const ExtendComponent = {
extends: BaseComponent
extends: BaseComponent,
}
const vm = new Vue({
components: { ExtendComponent },
render(h: any) {
return h('extend-component', null, [])
}
},
}).$mount()
expect(vm.$el.outerHTML).toBe(`<div>hello</div>`)
})