Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

test(import): Strong's measurement rows keep their hundredths too (#690)

Duarte Santos9a15ae5b4c06
diff --git a/frontend/src/lib/import-bodyweight.test.js b/frontend/src/lib/import-bodyweight.test.js
index 50ddfa169..5b78be618 100644
--- a/frontend/src/lib/import-bodyweight.test.js
+++ b/frontend/src/lib/import-bodyweight.test.js
@@ -41,7 +41,7 @@ describe('Strong measurements export', () => {
expect(parsed.kind).toBe('bodyweight')
expect(parsed.source).toBe('Strong')
expect(parsed.bodyweight.map(b => b.d)).toEqual(['2026-10-09', '2026-10-11', '2026-10-12'])
- expect(parsed.bodyweight.map(b => b.w)).toEqual([114.8, 114.9, 114.8])
+ expect(parsed.bodyweight.map(b => b.w)).toEqual([114.76, 114.85, 114.75])
})
it('converts each row from its own unit', () => {