buefy
Version:
Lightweight UI components for Vue.js based on Bulma
11 lines (9 loc) • 354 B
JavaScript
import { shallowMount } from '@vue/test-utils'
import BNotification from '@components/notification/Notification'
describe('BNotification', () => {
it('is called', () => {
const wrapper = shallowMount(BNotification)
expect(wrapper.name()).toBe('BNotification')
expect(wrapper.isVueInstance()).toBeTruthy()
})
})