2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-11 23:32:25 +03:00

prepare coverage

This commit is contained in:
Declan de Wet
2016-11-01 00:15:08 +02:00
parent 64dcc9720a
commit bca6a70f89
5 changed files with 252 additions and 32 deletions
+16 -3
View File
@@ -1,6 +1,19 @@
import Vue from 'vue'
import Meta from 'vue-meta'
Vue.use(Meta)
describe('basic', () => {
it('does something', () => {
console.log('tests have yet to be written')
expect(2).to.equal(3)
it('sets the document title', () => {
new Vue({
template: `
<div id="app">
</div>
`,
metaInfo: {
title: 'Foo'
}
}).$mount()
expect(document.title).to.equal('Foo')
})
})