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.
JavaScript apple-watchbodyweightdockerfitnessfitness-trackergymhealthiosmcpnodejspasskeysprogressive-web-applicationspwareactself-hostedself-hostingvitewebauthnweightliftingworkout-tracker
test(export): the lb round trip keeps hundredths now too (#690)
Duarte Santos68c45c91abbc
diff --git a/frontend/src/lib/export-csv.test.js b/frontend/src/lib/export-csv.test.jsindex 2103b0028..dbf01369a 100644--- a/frontend/src/lib/export-csv.test.js+++ b/frontend/src/lib/export-csv.test.js@@ -186,9 +186,9 @@ describe('the round trip: our export through our own importer', () => {it('converts to the profile unit, drops and sides included', () => {const lb = parseWorkoutCSV(workoutsCSV(S), { unit: 'lb' })const curl = lb.workouts[0].entries.find(e => e.id === '0294')- expect(curl.sets[0].w).toBe(30.9)- expect(curl.sets[0].drops[0].w).toBe(22)- expect(curl.sets[1].sides.R.w).toBe(26.5)+ expect(curl.sets[0].w).toBe(30.86)+ expect(curl.sets[0].drops[0].w).toBe(22.05)+ expect(curl.sets[1].sides.R.w).toBe(26.46)expect(lb.converted).toBe(true)})