homelabby/web
Mikkel Georgsen 4e5a3547f9 test(05-03): add CableTestPage unit tests with Vitest setup
- Install vitest, @testing-library/react, jsdom (Rule 3: missing test infra)
- Add vitest.config.ts with jsdom environment and @ alias
- Add src/test/setup.ts with jest-dom matchers and matchMedia stub
- Add CableTestPage.test.tsx: 4 tests (no-tester, recent list, print success, print_skipped)
- Mock AppShell to avoid TanStack Router context in tests
- All 4 tests pass; npm run build exits 0
2026-04-10 07:21:08 +00:00
..
dist feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
public feat(03-05): PWA manifest, service worker, icons, and registration hook 2026-04-10 06:22:05 +00:00
scripts feat(03-05): PWA manifest, service worker, icons, and registration hook 2026-04-10 06:22:05 +00:00
src test(05-03): add CableTestPage unit tests with Vitest setup 2026-04-10 07:21:08 +00:00
components.json feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
index.html feat(03-05): PWA manifest, service worker, icons, and registration hook 2026-04-10 06:22:05 +00:00
package-lock.json test(05-03): add CableTestPage unit tests with Vitest setup 2026-04-10 07:21:08 +00:00
package.json test(05-03): add CableTestPage unit tests with Vitest setup 2026-04-10 07:21:08 +00:00
postcss.config.cjs feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
tailwind.config.ts feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
tsconfig.app.json feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
tsconfig.json feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
tsconfig.node.json feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
vite.config.ts feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
vitest.config.ts test(05-03): add CableTestPage unit tests with Vitest setup 2026-04-10 07:21:08 +00:00