mirror of
https://github.com/johndoe6345789/docker-swarm-termina.git
synced 2026-04-24 13:45:01 +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
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.