fix(curriculum): use assert.fail method in survey form lab (#59857)

This commit is contained in:
Clarence
2025-04-21 19:34:57 +01:00
committed by GitHub
parent 9d0a1bc7d6
commit 41a1ad3a20
@@ -344,7 +344,7 @@ if (radioButtons) {
const groupKeys = Object.keys(groups);
groupKeys.forEach(key => {
if (groups[key].length < 2) assert(false);
if (groups[key].length < 2) assert.fail();
});
assert.isAbove(groupKeys.length, 0);