trails/packages/fit
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
..
__fixtures__ Add @trails-cool/fit package with GPX→FIT Course encoder 2026-04-30 22:31:37 +02:00
src test(fit): adapt single-point GPX case to the parser's <2-point drop 2026-07-14 00:17:49 +02:00
package.json build(deps): bump the production group with 18 updates 2026-06-21 08:32:18 +00:00
tsconfig.json Add @trails-cool/fit package with GPX→FIT Course encoder 2026-04-30 22:31:37 +02:00
vitest.config.ts Add @trails-cool/fit package with GPX→FIT Course encoder 2026-04-30 22:31:37 +02:00