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(i18n): allow pt-BR instruction batches to grow

mzspicoli600f7ff0e62b
diff --git a/frontend/src/lib/pt-br-instructions.test.js b/frontend/src/lib/pt-br-instructions.test.js
index 6705e200b..f884decfd 100644
--- a/frontend/src/lib/pt-br-instructions.test.js
+++ b/frontend/src/lib/pt-br-instructions.test.js
@@ -9,7 +9,7 @@ describe('Brazilian Portuguese exercise instructions', () => {
const source = JSON.parse(readFileSync(new URL('../../../scripts/instruction-sources/pt-BR.json', import.meta.url), 'utf8'))
test('starts with a reviewable translated batch', () => {
- expect(Object.keys(ptBR)).toHaveLength(20)
+ expect(Object.keys(ptBR).length).toBeGreaterThan(0)
expect(ptBR).toEqual(source)
})