chore: Vitest + Vue Test Utils test runner exposed as task test:web
This commit was merged in pull request #1.
This commit is contained in:
1 parent
64f50074bd
commit
24f95a8fd7
6 files changed
+286
-5
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { describe, it, expect } from 'vitest'
|
||||
import { mount } from '@vue/test-utils'
|
||||
import HomeView from '../HomeView.vue'
|
||||
|
||||
describe('HomeView', () => {
|
||||
it('renders a paragraph with the text Home', () => {
|
||||
const wrapper = mount(HomeView)
|
||||
expect(wrapper.text()).toContain('Home')
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user