tiny-vue/packages/fluent-editor/test/unit/components/Button.spec.ts

10 lines
274 B
TypeScript

import Button from '../../../src/components/Button.vue'
import { shallowMount } from '@vue/test-utils'
describe('~/src/components/Button.vue', () => {
test('can mount', () => {
const wrapper = shallowMount(Button)
expect(wrapper.html()).toMatchSnapshot()
})
})