test: assert cleared progression steps are omitted

This commit is contained in:
Manuel authored and mflova committed 2026-08-28 17:20:36 +00:00
1 parent dcfc7f15a7
commit 9216aa2f02
1 file changed
+1 -1
+1 -1
View File
@@ -64,6 +64,6 @@ describe('exercise configuration progression step', () => {
const emptySave = [...empty.host.querySelectorAll('button')]
.find(b => /^(save|add to routine)$/i.test(b.textContent.trim()))
act(() => { emptySave.click() })
expect(empty.onSave).toHaveBeenCalledWith(expect.not.objectContaining({ inc: expect.anything() }))
expect(empty.onSave.mock.calls[0][0]).not.toHaveProperty('inc')
})
})