mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-03-01 12:44:28 +00:00
17 lines
435 B
TypeScript
17 lines
435 B
TypeScript
import { mount } from '@vue/test-utils'
|
|
import { describe, expect, it } from 'vitest'
|
|
|
|
import App from './App.vue'
|
|
|
|
describe('vue 3 CSS Example App', () => {
|
|
it('mounts successfully', () => {
|
|
const wrapper = mount(App)
|
|
expect(wrapper.exists()).toBeTruthy()
|
|
})
|
|
|
|
it('displays the correct heading', () => {
|
|
const wrapper = mount(App)
|
|
expect(wrapper.find('h1').text()).toBe('Vue 3 + CSS + @ocelot-social/ui')
|
|
})
|
|
})
|