Badges.spec.js 395 B

12345678910111213141516
  1. import Vue from 'vue'
  2. import { mount } from '@vue/test-utils'
  3. import CoreuiVue from '@coreui/vue'
  4. import Badges from '@/views/notifications/Badges'
  5. Vue.use(CoreuiVue)
  6. describe('Badges.vue', () => {
  7. it('has a name', () => {
  8. expect(Badges.name).toBe('Badges')
  9. })
  10. test('renders correctly', () => {
  11. const wrapper = mount(Badges)
  12. expect(wrapper.element).toMatchSnapshot()
  13. })
  14. })