2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-05-26 14:14:05 +03:00
Files
vue-meta/test/basic.spec.js
T
2016-11-01 00:15:08 +02:00

20 lines
325 B
JavaScript

import Vue from 'vue'
import Meta from 'vue-meta'
Vue.use(Meta)
describe('basic', () => {
it('sets the document title', () => {
new Vue({
template: `
<div id="app">
</div>
`,
metaInfo: {
title: 'Foo'
}
}).$mount()
expect(document.title).to.equal('Foo')
})
})