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')
})
})