mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-20 20:01:22 +00:00
19 lines
381 B
TypeScript
19 lines
381 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('TopMenu', () => {
|
|
const wrapper = mount(VApp, {
|
|
slots: {
|
|
default: h(TopMenu),
|
|
},
|
|
})
|
|
|
|
it('renders', () => {
|
|
expect(wrapper.element).toMatchSnapshot()
|
|
})
|
|
})
|