Files
manja_dev_ui/tests/unit/views/icons/Flags.spec.js
T
2020-07-16 12:31:55 +02:00

21 lines
505 B
JavaScript

import Vue from 'vue'
import { shallowMount } from '@vue/test-utils'
import CoreuiVue from '@coreui/vue'
import Flags from '@/views/icons/Flags'
Vue.use(CoreuiVue)
describe('Flags.vue', () => {
it('has a name', () => {
expect(Flags.name).toBe('Flags')
})
it('is Vue instance', () => {
const wrapper = shallowMount(Flags)
expect(wrapper.vm).toBeTruthy()
})
it('is Flags', () => {
const wrapper = shallowMount(Flags)
expect(wrapper.findComponent(Flags)).toBeTruthy()
})
})