reverting

This commit is contained in:
dni ⚡
2025-12-23 10:59:00 +01:00
parent 3498cfb5b8
commit 5196ee6a15
3 changed files with 20 additions and 22 deletions
-19
View File
@@ -1,19 +0,0 @@
import {mount} from '@vue/test-utils'
import {expect, test} from 'vitest'
// The component to test
const MessageComponent = {
template: '<p>{{ msg }}</p>',
props: ['msg']
}
test('displays message', () => {
const wrapper = mount(MessageComponent, {
props: {
msg: 'Hello world'
}
})
// Assert the rendered text of the component
expect(wrapper.text()).toContain('Hello world')
})