Skip to content
Snippets Groups Projects
Forked from funkwhale / funkwhale
7777 commits behind the upstream repository.
Hello.spec.js 335 B
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')
  })
})