Add c8 code coverage

This commit is contained in:
Manuel
2023-03-17 23:17:58 +01:00
parent 5ed363146f
commit 0b237f27f7
3 changed files with 215 additions and 9 deletions

View File

@@ -19,7 +19,8 @@
"prettier:write": "prettier --write \"**/*.{ts,tsx}\"",
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run"
"test:run": "vitest run",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"@ctrl/deluge": "^4.1.0",
@@ -79,6 +80,7 @@
"@types/video.js": "^7.3.51",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"@vitest/coverage-c8": "^0.29.3",
"@vitest/ui": "^0.29.3",
"eslint": "^8.20.0",
"eslint-config-airbnb": "^19.0.4",