mirror of https://github.com/vuejs/core.git
[autofix.ci] apply automated fixes
This commit is contained in:
parent
34edbe4e33
commit
64e32e79bb
|
@ -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>`)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue