mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-20 20:01:22 +00:00
20 lines
404 B
TypeScript
20 lines
404 B
TypeScript
import { mount } from '@vue/test-utils'
|
|
import { beforeEach, expect, describe, it } from 'vitest'
|
|
|
|
import LogoAvatar from './LogoAvatar.vue'
|
|
|
|
describe('LogoAvatar', () => {
|
|
const Wrapper = () => {
|
|
return mount(LogoAvatar)
|
|
}
|
|
let wrapper: ReturnType<typeof Wrapper>
|
|
|
|
beforeEach(() => {
|
|
wrapper = Wrapper()
|
|
})
|
|
|
|
it('renders', () => {
|
|
expect(wrapper.element).toMatchSnapshot()
|
|
})
|
|
})
|