koel/resources/assets/js/components/layout/main-wrapper/sidebar/YouTubeSidebarItem.spec.ts

18 lines
430 B
TypeScript
Raw Normal View History

import { expect, it } from 'vitest'
import UnitTestCase from '@/__tests__/UnitTestCase'
import YouTubeSidebarItem from './YouTubeSidebarItem.vue'
new class extends UnitTestCase {
protected test () {
it('renders', async () => {
2024-04-23 15:20:40 +00:00
const { html } = this.render(YouTubeSidebarItem, {
slots: {
default: 'Another One Bites the Dust',
},
})
expect(html()).toMatchSnapshot()
})
}
}