|
Last change
on this file was 590f667, checked in by Ljubomir Ilievski <ilievski.ljubomir@…>, 10 months ago |
|
Added Initial frontend
|
-
Property mode
set to
100644
|
|
File size:
330 bytes
|
| Line | |
|---|
| 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 | })
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.