mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-04-27 02:05:42 +00:00
chore(tests): update test scripts in package.json to exclude LoadTimePerformance tests and add dedicated load-time test command; enhance Taskfile.yml descriptions for clarity
This commit is contained in:
+6
-1
@@ -186,10 +186,15 @@ tasks:
|
||||
- poetry run mutmut run "meshchatx.src.backend.meshchat_utils*"
|
||||
|
||||
test:fe:
|
||||
desc: Run frontend tests (vitest)
|
||||
desc: Run frontend tests (vitest; excludes i18n — see test:lang; excludes LoadTimePerformance — use test:fe:loadtime locally)
|
||||
cmds:
|
||||
- "{{.NPM}} run test -- --exclude tests/frontend/i18n.test.js"
|
||||
|
||||
test:fe:loadtime:
|
||||
desc: Optional frontend load-time / sidebar performance tests (not run in CI)
|
||||
cmds:
|
||||
- "{{.NPM}} run test:loadtime"
|
||||
|
||||
test:fe:cov:
|
||||
desc: Run frontend tests with line coverage (Vitest v8)
|
||||
cmds:
|
||||
|
||||
+5
-4
@@ -15,11 +15,12 @@
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
"format": "prettier --write .",
|
||||
"test": "vitest run",
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"test": "vitest run --exclude tests/frontend/LoadTimePerformance.test.js",
|
||||
"test:coverage": "vitest run --coverage --exclude tests/frontend/LoadTimePerformance.test.js",
|
||||
"test:fuzz": "vitest run -t fuzzing",
|
||||
"test:watch": "vitest",
|
||||
"test:ui": "vitest --ui --open",
|
||||
"test:watch": "vitest --exclude tests/frontend/LoadTimePerformance.test.js",
|
||||
"test:loadtime": "vitest run tests/frontend/LoadTimePerformance.test.js",
|
||||
"test:ui": "vitest --ui --open --exclude tests/frontend/LoadTimePerformance.test.js",
|
||||
"test:e2e": "playwright test",
|
||||
"test:e2e:ui": "playwright test --ui",
|
||||
"test:e2e:install": "playwright install chromium",
|
||||
|
||||
Reference in New Issue
Block a user