mirror of
https://github.com/koel/koel
synced 2024-11-28 15:00:42 +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()
|
|
})
|
|
}
|
|
}
|