0ed147d336
fix #890
11 lines
298 B
TypeScript
11 lines
298 B
TypeScript
import { createApp } from '@vue/runtime-dom'
|
|
|
|
describe('vCloak', () => {
|
|
test('should be removed after compile', () => {
|
|
const root = document.createElement('div')
|
|
root.setAttribute('v-cloak', '')
|
|
createApp({}).mount(root)
|
|
expect(root.hasAttribute('v-cloak')).toBe(false)
|
|
})
|
|
})
|