A try of overhauling the frontend tests, bailed after 24h+

This commit is contained in:
2026-06-11 09:09:02 +02:00
parent a9e1e96622
commit bb58389675
33 changed files with 3257 additions and 275 deletions
+9
View File
@@ -8,7 +8,15 @@
"build": "tsc && vite build",
"preview": "vite preview",
"test": "DEBUG_PRINT_LIMIT=0 vitest run --reporter=dot --no-color",
"test:unit": "vitest run tests/unit",
"test:e2e": "playwright test",
"test:all": "vitest run && npx playwright test",
"test:coverage": "vitest run --coverage",
"test:report": "npm run test:coverage && echo 'Coverage report generated in ./coverage directory. Use coverage/index.html to view.'",
"test:unit": "vitest run tests/unit",
"test:e2e": "playwright test",
"test:all": "vitest run && npx playwright test",
"test:coverage": "vitest run --coverage",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"clean": "find .. -not -path '*/node_modules/*' -not -name 'eslint.config.js' \\( -name '*.js' -o -name '*.jsx' \\) -delete"
},
@@ -33,6 +41,7 @@
"@typescript-eslint/eslint-plugin": "^8.60.0",
"@typescript-eslint/parser": "^8.60.0",
"@vitejs/plugin-react": "^6.0.1",
"@vitest/coverage-v8": "^4.1.8",
"@vitest/ui": "^4.1.5",
"autoprefixer": "^10.5.0",
"eslint": "^9.39.4",