test: update tests

This commit is contained in:
woothu
2020-07-16 12:31:55 +02:00
parent 7ee3b0f4db
commit a4a0b68f19
41 changed files with 77 additions and 81 deletions
@@ -1,5 +1,5 @@
import Vue from 'vue'
import { shallowMount, mount } from '@vue/test-utils'
import { mount } from '@vue/test-utils'
import CoreuiVue from '@coreui/vue'
import Badges from '@/views/notifications/Badges'
@@ -9,10 +9,6 @@ describe('Badges.vue', () => {
it('has a name', () => {
expect(Badges.name).toBe('Badges')
})
it('is Badges', () => {
const wrapper = shallowMount(Badges)
expect(wrapper.is(Badges)).toBe(true)
})
test('renders correctly', () => {
const wrapper = mount(Badges)
expect(wrapper.element).toMatchSnapshot()