mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
- Add vitest.config.mts with happy-dom environment and path aliases - Add src/test/setup.ts to register @testing-library/jest-dom matchers - Add test:unit script to package.json - Add vitest.config.mts to tsconfig.json include for ESLint compatibility - Remove redundant test devDependencies already declared at root - Add 132 tests across 16 files covering stores, composables, utils, and constants
21 lines
397 B
JSON
21 lines
397 B
JSON
{
|
|
"extends": "../../tsconfig.json",
|
|
"compilerOptions": {
|
|
"noEmit": true,
|
|
"allowImportingTsExtensions": true,
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"@frontend-locales/*": ["../../src/locales/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
".storybook/**/*",
|
|
"src/**/*.ts",
|
|
"src/**/*.vue",
|
|
"src/**/*.d.ts",
|
|
"vite.config.mts",
|
|
"vitest.config.mts"
|
|
],
|
|
"references": []
|
|
}
|