This commit is contained in:
portree_kid
2019-11-05 22:43:18 +01:00
commit b81348bdb8
45 changed files with 20499 additions and 0 deletions
+13
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!')
})
})