Initial commit
This commit is contained in:
10
tests/unit/example.spec.ts
Normal file
10
tests/unit/example.spec.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { mount } from '@vue/test-utils'
|
||||
import HomePage from '@/views/HomePage.vue'
|
||||
import { describe, expect, test } from 'vitest'
|
||||
|
||||
describe('HomePage.vue', () => {
|
||||
test('renders home vue', () => {
|
||||
const wrapper = mount(HomePage)
|
||||
expect(wrapper.text()).toMatch('Ready to create an app?')
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user