UNPKG

@ishitatsuyuki/oruga-next

Version:

UI components for Vue.js and CSS framework agnostic

20 lines (15 loc) 474 B
import { shallowMount } from '@vue/test-utils' import ONotification from '@components/notification/Notification' let wrapper describe('ONotification', () => { beforeEach(() => { wrapper = shallowMount(ONotification) }) it('is called', () => { expect(wrapper.name()).toBe('ONotification') expect(wrapper.isVueInstance()).toBeTruthy() }) it('render correctly', () => { expect(wrapper.html()).toMatchSnapshot() }) })