chore: avoid v-cloak test warning
This commit is contained in:
parent
e93e426bfa
commit
8080c38323
@ -4,7 +4,9 @@ describe('vCloak', () => {
|
||||
test('should be removed after compile', () => {
|
||||
const root = document.createElement('div')
|
||||
root.setAttribute('v-cloak', '')
|
||||
createApp({}).mount(root)
|
||||
createApp({
|
||||
render() {}
|
||||
}).mount(root)
|
||||
expect(root.hasAttribute('v-cloak')).toBe(false)
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user