mirror of
https://github.com/koel/koel
synced 2024-12-29 14:03:06 +00:00
17 lines
430 B
TypeScript
17 lines
430 B
TypeScript
import { expect, it } from 'vitest'
|
|
import UnitTestCase from '@/__tests__/UnitTestCase'
|
|
import YouTubeSidebarItem from './YouTubeSidebarItem.vue'
|
|
|
|
new class extends UnitTestCase {
|
|
protected test () {
|
|
it('renders', async () => {
|
|
const { html } = this.render(YouTubeSidebarItem, {
|
|
slots: {
|
|
default: 'Another One Bites the Dust',
|
|
},
|
|
})
|
|
|
|
expect(html()).toMatchSnapshot()
|
|
})
|
|
}
|
|
}
|