mirror of
https://github.com/koel/koel
synced 2024-12-25 20:13:06 +00:00
15 lines
341 B
TypeScript
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()
|
|
})
|
|
}
|
|
}
|