mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): use assert.fail method in survey form lab (#59857)
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user