vue-wcharts
Version:
Vuejs charts
20 lines (16 loc) • 432 B
JavaScript
import { shallowMount } from '@vue/test-utils'
import WBullet from './WBullet.vue'
describe('Widgets/WBullet', () => {
const propsData = {
styles: {
background: 'black',
},
}
const defaultConfig = {
propsData,
}
it(`Should be render correctly`, () => {
const wrapper = shallowMount(WBullet, defaultConfig)
expect(wrapper.html()).toMatchSnapshot()
})
})