mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-08 17:35:17 +01:00
10 lines
309 B
JavaScript
10 lines
309 B
JavaScript
import Vue from 'vue'
|
|
import HelloWorld from '@/components/HelloWorld'
|
|
|
|
describe('HelloWorld.vue', () => {
|
|
it('should render correct contents', () => {
|
|
const Constructor = Vue.extend(HelloWorld)
|
|
const vm = new Constructor().$mount()
|
|
expect(vm.$el.querySelector('.hello h1').textContent)
|
|
})
|
|
})
|