We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de9cff8 commit 1cf9ed1Copy full SHA for 1cf9ed1
contentcuration/contentcuration/frontend/shared/utils/validation.spec.js
@@ -417,9 +417,7 @@ describe('channelEdit utils', () => {
417
418
it('throws a reference error if assessment items are not defined', () => {
419
const error = new ReferenceError('assessment items must be defined for exercises');
420
- expect(() => isNodeComplete({ nodeDetails, assessmentItems: undefined })).toThrow(
421
- error,
422
- );
+ expect(() => isNodeComplete({ nodeDetails, assessmentItems: undefined })).toThrow(error);
423
expect(() => isNodeComplete({ nodeDetails, assessmentItems: null })).toThrow(error);
424
});
425
0 commit comments