UNPKG

create-vue

Version:

🛠️ The recommended way to start a Vite-powered Vue project

12 lines (9 loc) 272 B
import { describe, it, expect } from 'vitest' import { mount } from '@vue/test-utils' import App from '../App.vue' describe('App', () => { it('mounts renders properly', () => { const wrapper = mount(App) expect(wrapper.text()).toContain('You did it!') }) })