mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
19 lines
384 B
TypeScript
19 lines
384 B
TypeScript
import { mount } from '@vue/test-utils'
|
|
import { describe, it, expect } from 'vitest'
|
|
import { h } from 'vue'
|
|
import { VApp } from 'vuetify/components'
|
|
|
|
import TopMenu from './TopMenu.vue'
|
|
|
|
describe('FooterMenu', () => {
|
|
const wrapper = mount(VApp, {
|
|
slots: {
|
|
default: h(TopMenu),
|
|
},
|
|
})
|
|
|
|
it('renders', () => {
|
|
expect(wrapper.element).toMatchSnapshot()
|
|
})
|
|
})
|