This commit is contained in:
Duarte Santos committed 2026-08-30 13:30:38 +02:00
commit a65287de0f
24 files changed
+136 -11

No files matched your search

+9
View File
@@ -71,6 +71,15 @@ describe('list_routines', () => {
})
})
test('reports progression exclusion in routine summaries and details', () => {
S.routines[0].excludeFromProgression = true
const summary = call('list_routines').routines.find(r => r.id === S.routines[0].id)
const detail = call('get_routine', { routine_id: S.routines[0].id })
expect(summary.exclude_from_progression).toBe(true)
expect(detail.exclude_from_progression).toBe(true)
})
test('list_routines entries line up with get_routine (no id drift)', () => {
const list = call('list_routines').routines
list.forEach(summary => {