Skip to content

Commit 5e0e684

Browse files
author
yangchangtao
committed
chore: update
1 parent c67368a commit 5e0e684

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/vue-compat/__tests__/misc.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,4 +282,10 @@ test('ATTR_ENUMERATED_COERCION: true', () => {
282282
template: `<div><div draggable="false">hello</div></div>`,
283283
}).$mount()
284284
expect(vm.$el.innerHTML).toBe(`<div draggable="false">hello</div>`)
285+
expect(
286+
(
287+
deprecationData[DeprecationTypes.ATTR_ENUMERATED_COERCION]
288+
.message as Function
289+
)('draggable', 'false', 'false'),
290+
).toHaveBeenWarned()
285291
})

0 commit comments

Comments
 (0)