KI-Konzil/frontend/app/__tests__
Claude 7becffcc89
Fix React hook anti-patterns, incorrect mock paths, and unused code
- Replace useState+useEffect sync pattern with useMemo in
  EdgeSettingsPanel.tsx to eliminate cascading re-renders
- Remove redundant draft state in NodeSettingsPanel.tsx and use
  store data directly, eliminating useEffect sync loop
- Fix mock paths in test_tools.py: patch tavily.TavilyClient and
  pypdf.PdfReader at their source modules (lazy imports)
- Remove unused variable assignment in routes.py (god mode reject)
- Remove unused node_lookup dicts in dynamic_graph_builder.py
- Remove unused imports across test files (Blueprint, CouncilState,
  pytest, llm assignments)
- Remove unused CouncilBlueprint type import in types.test.ts
- Run npm audit fix to resolve moderate vulnerability

All 107 backend tests and 26 frontend tests pass. Ruff, ESLint,
and TypeScript checks are clean.

https://claude.ai/code/session_01XqzyT6fhS8sUe9P5fCmuVU
2026-02-22 10:29:54 +00:00
..
api-client.test.ts Implement Phase 4: tools, God Mode, and missing features 2026-02-21 10:53:12 +00:00
blueprint-parser.test.ts Implement Phase 4: tools, God Mode, and missing features 2026-02-21 10:53:12 +00:00
council-store.test.ts Implement Phase 4: tools, God Mode, and missing features 2026-02-21 10:53:12 +00:00
types.test.ts Fix React hook anti-patterns, incorrect mock paths, and unused code 2026-02-22 10:29:54 +00:00