UNPKG

@indielayer/ui

Version:

Indielayer UI Components with Tailwind CSS build for Vue 3

16 lines (13 loc) 314 B
import { describe, it, expect } from 'vitest' import { mount } from '@vue/test-utils' import Icon from '../Icon.vue' describe('Icon', () => { it('renders without errors', () => { const wrapper = mount(Icon, { props: { icon: 'star', }, }) expect(wrapper.vm).toBeTruthy() }) })