You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
352 B
11 lines
352 B
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) |
|
.toEqual('Welcome to Your Vue.js App') |
|
}) |
|
})
|
|
|