Files
manja_dev_ui/Vue_Starter/test/unit/specs/Hello.spec.js
T
xidedix de7ebf32ff Update to 1.0.6
- refactor: raw html to b-row, b-col, b-card, b-button components
- fix: Cards.vue: change variant="accent- to class="card-accent-
- refactor: Modal's ok-button variants
- refactor: forms with validation feedback
- update: bootstrap-vue to 1.1.0
- update: to vue: 2.5.6
2017-11-21 12:37:51 +01:00

12 lines
332 B
JavaScript

import Vue from 'vue'
import Dashboard from '@/views/Dashboard'
describe('Dashboard.vue', () => {
it('should render correct contents', () => {
const Constructor = Vue.extend(Dashboard)
const vm = new Constructor().$mount()
expect(vm.$el.querySelector('.text-info').textContent)
.to.equal('Hello World')
})
})