// 基本测试来验证Vitest配置 import { describe, it, expect, vi } from 'vitest'; describe('Basic Vitest Test', () => { it('should work', () => { expect(1 + 1).toBe(2); }); it('should support module mapping', () => { // 测试模块映射 const testUtil = vi.fn(); expect(testUtil).toBeDefined(); }); });