mirror of
https://github.com/koel/koel
synced 2024-12-23 02:53:20 +00:00
16 lines
418 B
TypeScript
16 lines
418 B
TypeScript
import { expect, it } from 'vitest'
|
|
import UnitTestCase from '@/__tests__/UnitTestCase'
|
|
import ScreenEmptyState from './ScreenEmptyState.vue'
|
|
|
|
new class extends UnitTestCase {
|
|
protected test () {
|
|
it('renders', () => {
|
|
expect(this.render(ScreenEmptyState, {
|
|
slots: {
|
|
icon: '<i class="my-icon"/>',
|
|
default: 'Nothing here'
|
|
}
|
|
}).html()).toMatchSnapshot()
|
|
})
|
|
}
|
|
}
|