mirror of
https://github.com/koel/koel
synced 2024-12-30 06:23:05 +00:00
15 lines
408 B
TypeScript
15 lines
408 B
TypeScript
import { expect, it } from 'vitest'
|
|
import ComponentTestCase from '@/__tests__/ComponentTestCase'
|
|
import AppleMusicButton from './AppleMusicButton.vue'
|
|
|
|
new class extends ComponentTestCase {
|
|
protected test () {
|
|
it('renders', () => {
|
|
expect(this.render(AppleMusicButton, {
|
|
props: {
|
|
url: 'https://music.apple.com/buy-nao'
|
|
}
|
|
}).html()).toMatchSnapshot()
|
|
})
|
|
}
|
|
}
|