Files
nuchat/ui/src/components/__tests__/HelloWorld.spec.ts
Fergus Molloy e2c7faba5a
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s
remove separate ui service, serve ui with backend
2025-07-18 01:54:59 +01:00

12 lines
330 B
TypeScript

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