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