Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 11 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
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 | }) |
||
12 |