mirror of https://github.com/vuejs/core.git
chore: update
This commit is contained in:
parent
c67368a52f
commit
5e0e684366
|
@ -282,4 +282,10 @@ test('ATTR_ENUMERATED_COERCION: true', () => {
|
||||||
template: `<div><div draggable="false">hello</div></div>`,
|
template: `<div><div draggable="false">hello</div></div>`,
|
||||||
}).$mount()
|
}).$mount()
|
||||||
expect(vm.$el.innerHTML).toBe(`<div draggable="false">hello</div>`)
|
expect(vm.$el.innerHTML).toBe(`<div draggable="false">hello</div>`)
|
||||||
|
expect(
|
||||||
|
(
|
||||||
|
deprecationData[DeprecationTypes.ATTR_ENUMERATED_COERCION]
|
||||||
|
.message as Function
|
||||||
|
)('draggable', 'false', 'false'),
|
||||||
|
).toHaveBeenWarned()
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue