buefy
Version:
Lightweight UI components for Vue.js based on Bulma
13 lines (11 loc) • 368 B
JavaScript
import { shallowMount } from '@vue/test-utils'
import BDialog from '@components/dialog/Dialog'
describe('BDialog', () => {
it('is called', () => {
const wrapper = shallowMount(BDialog, {
attachToDocument: true
})
expect(wrapper.name()).toBe('BDialog')
expect(wrapper.isVueInstance()).toBeTruthy()
})
})