mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-10 02:30:13 +00:00
13 lines
356 B
JavaScript
13 lines
356 B
JavaScript
import Vue from 'vue'
|
|
import Hello from 'src/components/Hello'
|
|
|
|
describe('Hello.vue', () => {
|
|
it('should render correct contents', () => {
|
|
const vm = new Vue({
|
|
el: document.createElement('div'),
|
|
render: (h) => h(Hello)
|
|
})
|
|
expect(vm.$el.querySelector('.hello h1').textContent)
|
|
.to.equal('Welcome to Your Vue.js App')
|
|
})
|
|
})
|