Files
Clyde/frontend/src/components/__tests__/HelloWorld.spec.js
Debucquoy Anthony a795108859
All checks were successful
deploy to production / deploy-frontend (push) Successful in 47s
frontend + ci
2024-02-17 20:58:42 +01:00

12 lines
330 B
JavaScript

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