1
0
mirror of https://github.com/TheGreyDiamond/Enlight.git synced 2026-01-31 15:40:25 +01:00

Inital commit for vue

This commit is contained in:
TheGreyDiamond
2020-11-24 17:11:39 +01:00
parent 8b8987dd28
commit 45adfc9886
38 changed files with 12695 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!')
})
})