UNPKG

@ishitatsuyuki/oruga-next

Version:

UI components for Vue.js and CSS framework agnostic

19 lines (14 loc) 389 B
import { shallowMount } from '@vue/test-utils' import OTooltip from '@components/tooltip/Tooltip' let wrapper describe('OTooltip', () => { beforeEach(() => { wrapper = shallowMount(OTooltip) }) it('is called', () => { expect(wrapper.exists()).toBeTruthy() }) it('render correctly', () => { expect(wrapper.html()).toMatchSnapshot() }) })