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(media): the stash test puts its file before the sign-out, not during it
Dima Pod50bf17bc29f
diff --git a/frontend/src/store/useStore.media.test.jsx b/frontend/src/store/useStore.media.test.jsxindex 338d15420..1586f9b0f 100644--- a/frontend/src/store/useStore.media.test.jsx+++ b/frontend/src/store/useStore.media.test.jsx@@ -73,6 +73,7 @@ describe('owed photos and videos', () => {it('going ahead anyway keeps the copy in the stash, and its files survive the sign-out', async () => {await signedInWithPendingPhoto()await media.put('c'.repeat(64), new Blob(['x']), { mime: 'image/png', pending: false }) // nobody's+ await new Promise(r => setTimeout(r, 5)) // put before the sign-out, not during itconst r = await useStore.getState().signOut({ force: true })expect(r).toMatchObject({ owed: true, media: 1, stashed: true })expect(useStore.getState().S.customEx).toEqual([])