Skip to content
11 linesCodeBlameRaw
1import { describe, it, expect } from 'vitest'
2
3import { mount } from '@vue/test-utils'
4import HelloWorld from '../HelloWorld.vue'
5
6describe('HelloWorld', () => {
7 it('renders properly', () => {
8 const wrapper = mount(HelloWorld, { props: { msg: 'Hello Vitest' } })
9 expect(wrapper.text()).toContain('Hello Vitest')
10 })
11})