切换vitest-browser
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
// },
|
||||
// "include": ["src/**/*", "tests/**/*"], // 包含测试文件
|
||||
"compilerOptions": {
|
||||
"types": [],
|
||||
"types": ["@vitest/browser/providers/playwright"],
|
||||
"resolveJsonModule": true, // 允许导入 .json 文件
|
||||
"esModuleInterop": true, // 确保 CommonJS/ESM 兼容
|
||||
"module": "ESNext", // 推荐使用 ESM
|
||||
|
Reference in New Issue
Block a user