mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 10:59:53 +00:00
Tests: Vitest configuration cleanup (#5888)
## Summary Simplify default scripts. Filtering is still available to users, we can revisit tagging or grouping later. This fixes the issue where we had tests that were in the codebase but never run because they weren't under `/src/components` Also deletes the duplicate litegraph tests and their associated vitest config file. ## Changes - **What**: Test cleanup ## Review Focus ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-5888-Tests-Vitest-configuration-cleanup-2806d73d36508197b800f68f0b028279) by [Unito](https://www.unito.io)
This commit is contained in:
@@ -3,7 +3,12 @@
|
||||
"target": "ES2023",
|
||||
"useDefineForClassFields": true,
|
||||
"module": "ESNext",
|
||||
"lib": ["ES2023", "ES2023.Array", "DOM", "DOM.Iterable"],
|
||||
"lib": [
|
||||
"ES2023",
|
||||
"ES2023.Array",
|
||||
"DOM",
|
||||
"DOM.Iterable"
|
||||
],
|
||||
"skipLibCheck": true,
|
||||
"incremental": true,
|
||||
"sourceMap": true,
|
||||
@@ -22,7 +27,9 @@
|
||||
"verbatimModuleSyntax": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["src/*"],
|
||||
"@/*": [
|
||||
"src/*"
|
||||
],
|
||||
"@/utils/formatUtil": [
|
||||
"packages/shared-frontend-utils/src/formatUtil.ts"
|
||||
],
|
||||
@@ -30,7 +37,10 @@
|
||||
"packages/shared-frontend-utils/src/networkUtil.ts"
|
||||
]
|
||||
},
|
||||
"typeRoots": ["src/types", "node_modules/@types"],
|
||||
"typeRoots": [
|
||||
"src/types",
|
||||
"node_modules/@types"
|
||||
],
|
||||
"outDir": "./dist",
|
||||
"rootDir": "./"
|
||||
},
|
||||
@@ -42,7 +52,8 @@
|
||||
"src/**/*.vue",
|
||||
"src/**/*",
|
||||
"src/types/**/*.d.ts",
|
||||
"tailwind.config.ts",
|
||||
"tests-ui/**/*",
|
||||
"tailwind.config.ts"
|
||||
"vitest.config.ts",
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user