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.

Tests: the Coach failure lines are read in all seventeen packs, Traditional Chinese included

Duarte Santosd3b22f97004b
diff --git a/frontend/src/lib/coach-api.i18n.test.js b/frontend/src/lib/coach-api.i18n.test.js
index 3df85713b..b628c91c9 100644
--- a/frontend/src/lib/coach-api.i18n.test.js
+++ b/frontend/src/lib/coach-api.i18n.test.js
@@ -37,8 +37,8 @@ afterEach(async () => {
})
describe('every failure line, in every pack', () => {
- it('reads all sixteen packs', () => {
- expect(Object.keys(PACKS)).toHaveLength(16)
+ it('reads all seventeen packs', () => {
+ expect(Object.keys(PACKS)).toHaveLength(17)
})
it.each(Object.keys(PACKS).sort())('%s translates each one, and the map reads it from the pack', async lang => {