test: add coverage

This commit is contained in:
2026-09-26 15:31:36 +05:00
parent ad01ae92d4
commit 73bcbcc26a
10 changed files with 232 additions and 11 deletions
+2
View File
@@ -11,6 +11,7 @@
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:rules": "vitest run eslint-plugins/__tests__",
"test:e2e": "playwright test",
"format": "prettier --write . --log-level warn",
@@ -27,6 +28,7 @@
"@sveltejs/kit": "^2.63.0",
"@sveltejs/vite-plugin-svelte": "^7.1.2",
"@types/node": "^26.5.0",
"@vitest/coverage-v8": "^4.1.11",
"diff": "^9.0.0",
"eslint": "^10.9.0",
"eslint-config-prettier": "^10.1.8",