Add tests for AuthContext, ModalContext and ThemeContext

This commit is contained in:
2025-05-29 16:25:42 +02:00
parent 19771dd094
commit 33d45568ec
6 changed files with 2406 additions and 4 deletions

View File

@@ -11,7 +11,8 @@
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"test": "vitest run",
"test:watch": "vitest"
"test:watch": "vitest",
"coverage": "vitest run --coverage"
},
"repository": {
"type": "git",
@@ -66,6 +67,7 @@
"@typescript-eslint/eslint-plugin": "^8.32.1",
"@typescript-eslint/parser": "^8.32.1",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^3.1.4",
"eslint": "^9.27.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",