test: update tests
This commit is contained in:
@@ -11,11 +11,11 @@ describe('CChartBarExample', () => {
|
||||
})
|
||||
it('is Vue instance', () => {
|
||||
const wrapper = shallowMount(CChartBarExample)
|
||||
expect(wrapper.isVueInstance()).toBe(true)
|
||||
expect(wrapper.vm).toBeTruthy()
|
||||
})
|
||||
it('is CChartBarExample', () => {
|
||||
const wrapper = shallowMount(CChartBarExample)
|
||||
expect(wrapper.is(CChartBarExample)).toBe(true)
|
||||
expect(wrapper.findComponent(CChartBarExample)).toBeTruthy()
|
||||
})
|
||||
test('renders correctly', () => {
|
||||
const wrapper = shallowMount(CChartBarExample)
|
||||
|
||||
@@ -11,11 +11,11 @@ describe('Charts.vue', () => {
|
||||
})
|
||||
it('is Vue instance', () => {
|
||||
const wrapper = shallowMount(Charts)
|
||||
expect(wrapper.isVueInstance()).toBe(true)
|
||||
expect(wrapper.vm).toBeTruthy()
|
||||
})
|
||||
it('is Charts', () => {
|
||||
const wrapper = shallowMount(Charts)
|
||||
expect(wrapper.is(Charts)).toBe(true)
|
||||
expect(wrapper.findComponent(Charts)).toBeTruthy()
|
||||
})
|
||||
test('renders correctly', () => {
|
||||
const wrapper = shallowMount(Charts)
|
||||
|
||||
Reference in New Issue
Block a user