trails/packages/fit/src
Ullrich Schäfer ee87a55fdd
test(fit): adapt single-point GPX case to the parser's <2-point drop
CI "Unit Tests" (full monorepo) caught that @trails-cool/fit's round-trip
fixture loop included single-point.gpx, which now parses to zero track
points (the parser drops <2-point segments), so gpxToFitCourse correctly
throws its zero-points guard. Drop single-point.gpx from the round-trip
loop and cover the degenerate case explicitly: a lone point → zero points
→ refused.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 00:17:49 +02:00
..
fitsdk-shim.ts Add Wahoo push action route + OAuth callback resume 2026-04-30 22:41:24 +02:00
gpx-to-fit-course.test.ts test(fit): adapt single-point GPX case to the parser's <2-point drop 2026-07-14 00:17:49 +02:00
gpx-to-fit-course.ts Fix FIT Course capabilities and lap duration 2026-05-01 10:24:50 +02:00
index.ts Add @trails-cool/fit package with GPX→FIT Course encoder 2026-04-30 22:31:37 +02:00
semicircles.ts Add @trails-cool/fit package with GPX→FIT Course encoder 2026-04-30 22:31:37 +02:00