trails/packages/map-core/src
Ullrich Schäfer 9420201932
Add tests to all packages, remove passWithNoTests
Every package now has tests — no more empty test suites:

- map-core: 33 tests — maxspeedColor, routeGradeColor, elevationColor,
  POI categories, getCategoriesForProfile, tile layer configs
- db: 5 tests — withDb error handling (503 on DB error, re-throws
  Response/DataWithResponseInit, logs errors)
- ui: 14 tests — Button variants/sizes/disabled, Input label/id/error,
  Card className forwarding
- map: 2 tests — baseLayers/overlayLayers re-export verification

Remove passWithNoTests from vitest.shared.ts so missing tests are
caught immediately when adding new packages.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 00:48:27 +02:00
..
colors Add tests to all packages, remove passWithNoTests 2026-04-13 00:48:27 +02:00
index.ts Extract @trails-cool/map-core package from Planner 2026-04-12 22:28:14 +02:00
poi.test.ts Add tests to all packages, remove passWithNoTests 2026-04-13 00:48:27 +02:00
poi.ts Extract @trails-cool/map-core package from Planner 2026-04-12 22:28:14 +02:00
snap.ts Extract @trails-cool/map-core package from Planner 2026-04-12 22:28:14 +02:00
tiles.test.ts Add tests to all packages, remove passWithNoTests 2026-04-13 00:48:27 +02:00
tiles.ts Extract @trails-cool/map-core package from Planner 2026-04-12 22:28:14 +02:00
z-index.ts Extract @trails-cool/map-core package from Planner 2026-04-12 22:28:14 +02:00