mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 06:59:55 +02:00
11 lines
335 B
JavaScript
11 lines
335 B
JavaScript
import Vue from 'vue'
|
|
import Hello from '@/components/Hello'
|
|
|
|
describe('Hello.vue', () => {
|
|
it('should render correct contents', () => {
|
|
const Constructor = Vue.extend(Hello)
|
|
const vm = new Constructor().$mount()
|
|
expect(vm.$el.querySelector('.hello h1').textContent)
|
|
.to.equal('Welcome to Your Vue.js App')
|
|
})
|
|
})
|