First beta version

This commit is contained in:
Molunerfinn
2017-11-28 08:21:12 +08:00
commit d1b9e0f592
54 changed files with 10526 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import Vue from 'vue'
import LandingPage from '@/components/LandingPage'
describe('LandingPage.vue', () => {
it('should render correct contents', () => {
const vm = new Vue({
el: document.createElement('div'),
render: h => h(LandingPage)
}).$mount()
expect(vm.$el.querySelector('.title').textContent).to.contain('Welcome to your new project!')
})
})