koel/resources/assets/js/components/ui/form/Btn.spec.ts
2024-10-14 00:37:01 +07:00

15 lines
341 B
TypeScript

import { expect, it } from 'vitest'
import UnitTestCase from '@/__tests__/UnitTestCase'
import Btn from './Btn.vue'
new class extends UnitTestCase {
protected test () {
it('renders', () => {
expect(this.render(Btn, {
slots: {
default: 'Click Me Nao',
},
}).html()).toMatchSnapshot()
})
}
}