fix: correct i18n mock in CrowdSec tests and silence query warning
- Added [ready: true](http://_vscodecontentref_/6) to [react-i18next](http://_vscodecontentref_/7) mock in CrowdSecBouncerKeyDisplay tests to prevent infinite loading state - Mocked [getCrowdsecKeyStatus](http://_vscodecontentref_/8) in Security page tests to resolve "Query data cannot be undefined" warning - Ensures all Security dashboard related tests pass reliably without console errors
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
"eslint": "^9.39.2",
|
||||
"eslint-plugin-react-hooks": "^7.0.1",
|
||||
"eslint-plugin-react-refresh": "^0.5.0",
|
||||
"jsdom": "^28.0.0",
|
||||
"jsdom": "25.0.1",
|
||||
"knip": "^5.83.0",
|
||||
"postcss": "^8.5.6",
|
||||
"tailwindcss": "^4.1.18",
|
||||
|
||||
Reference in New Issue
Block a user