Update to v1.0.6
- refactor: raw html to b-row, b-col, b-card, b-button components - fix: Cards 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 closes #28 - update: to vue 2.5.6 from build v1.0.5 - update: bootstrap-vue to 1.0.x - fix: use <b-form-radio-group> instead of <b-form-radio> - refactor: <b-table> bootstrap-vue component in Tables closes #24 - refactor: extract Table component from Tables - refactor: <b-table> bootstrap-vue component in Switches - fix: add table-responsive-sm class to Tables closes #26 - refactor: use component <b-navbar-nav> instead of deprecated prop is-nav-bar - fix: b-progress height property workaround (bootstrap-vue) - chore: dependencies update
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import Vue from 'vue'
|
||||
import Hello from '@/components/Hello'
|
||||
import Dashboard from '@/views/Dashboard'
|
||||
|
||||
describe('Hello.vue', () => {
|
||||
describe('Dashboard.vue', () => {
|
||||
it('should render correct contents', () => {
|
||||
const Constructor = Vue.extend(Hello)
|
||||
const Constructor = Vue.extend(Dashboard)
|
||||
const vm = new Constructor().$mount()
|
||||
expect(vm.$el.querySelector('.hello h1').textContent)
|
||||
.to.equal('Welcome to Your Vue.js App')
|
||||
expect(vm.$el.querySelector('.text-info').textContent)
|
||||
.to.equal('Hello World')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user