test: vitest setup + auth/login/cookie banner tests

This commit is contained in:
neckfire
2026-06-20 12:57:13 +02:00
parent 7a4206a522
commit bfdb3d3d9a
8 changed files with 996 additions and 6 deletions
+9 -2
View File
@@ -7,7 +7,9 @@
"dev": "vite",
"build": "vite build",
"lint": "eslint .",
"preview": "vite preview"
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest"
},
"dependencies": {
"lucide-react": "^1.8.0",
@@ -25,6 +27,11 @@
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.5.0",
"vite": "^8.0.10"
"vite": "^8.0.10",
"vitest": "^4.1.9",
"jsdom": "^29.1.1",
"@testing-library/react": "^16.3.2",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/user-event": "^14.6.1"
}
}