21 lines
523 B
TypeScript
21 lines
523 B
TypeScript
import { describe, it, expect } from 'vitest'
|
|
import { mount } from '@vue/test-utils'
|
|
|
|
// Basic test to verify Vitest is working
|
|
describe('Vitest Setup', () => {
|
|
it('works correctly', () => {
|
|
expect(1 + 1).toBe(2)
|
|
})
|
|
})
|
|
|
|
// Basic test for Vue component mounting (optional, depends on having a simple component)
|
|
/*
|
|
import MyComponent from './MyComponent.vue'
|
|
describe('Component Test', () => {
|
|
it('mounts properly', () => {
|
|
const wrapper = mount(MyComponent)
|
|
expect(wrapper.exists()).toBe(true)
|
|
})
|
|
})
|
|
*/
|