frontend + ci
All checks were successful
deploy to production / deploy-frontend (push) Successful in 47s
All checks were successful
deploy to production / deploy-frontend (push) Successful in 47s
This commit is contained in:
11
frontend/src/components/__tests__/HelloWorld.spec.js
Normal file
11
frontend/src/components/__tests__/HelloWorld.spec.js
Normal file
@ -0,0 +1,11 @@
|
||||
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')
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user