fix(curriculum): use correct assert method (#61978)

This commit is contained in:
Chase Knowlden
2025-08-28 12:02:38 -07:00
committed by GitHub
parent aa72a676d9
commit ddd9457703
@@ -551,7 +551,7 @@ async () => {
const { log } = await logRes.json();
const exercise = log[0];
assert.isString(exercise.date);
assert.include(expectedDates, exercise.date); // Check if date matches any valid dates
assert.oneOf(exercise.date, expectedDates); // Check if date matches any valid dates
} else {
throw new Error(`${logRes.status} ${logRes.statusText}`);
}