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