mirror of
https://github.com/johndoe6345789/docker-swarm-termina.git
synced 2026-04-25 14:15:22 +00:00
Coverage improvements (77.54% -> 81.88%): - TerminalModal: 82.6% -> 95.65% (added handleClose and handleKeyPress tests) - useAuthRedirect: 93.33% -> 100% (added loading=true test) - theme.tsx: 0% -> 100% (added ThemeProvider tests) - layout.tsx: 0% -> 100% (added RootLayout tests) - providers.tsx: 0% -> 87.5% (added Providers tests) - store.ts: 0% -> 100% (added store configuration tests) New test files: - app/__tests__/layout.test.tsx (3 tests) - app/__tests__/providers.test.tsx (2 tests) - lib/__tests__/theme.test.tsx (2 tests) - lib/store/__tests__/store.test.ts (4 tests) Enhanced existing tests: - useAuthRedirect: Added test for loading state early return - TerminalModal: Added tests for Close button, Enter/Shift+Enter key handling, FallbackNotification close Modules at 100% coverage: - All component sub-modules (ContainerCard/*, Dashboard/*, TerminalModal/*) - All custom hooks except useInteractiveTerminal - All store modules (authSlice, authErrorHandler, hooks, store) - All utilities (terminal.tsx) - Layout and theme configuration files Total: 269 passing tests https://claude.ai/code/session_mmQs0