You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
330 B
12 lines
330 B
import { describe, it, expect } from 'vitest'
|
|
|
|
import { mount } from '@vue/test-utils'
|
|
import HelloWorld from '../HelloWorld.vue'
|
|
|
|
describe('HelloWorld', () => {
|
|
it('renders properly', () => {
|
|
const wrapper = mount(HelloWorld, { props: { msg: 'Hello Vitest' } })
|
|
expect(wrapper.text()).toContain('Hello Vitest')
|
|
})
|
|
})
|