mirror of
https://github.com/koel/koel
synced 2024-11-28 15:00:42 +00:00
15 lines
339 B
TypeScript
15 lines
339 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()
|
|
})
|
|
}
|
|
}
|