fix: test curriculum
This commit is contained in:
@ -68,7 +68,7 @@ let schema = Joi.object().keys({
|
||||
title: Joi.string().required()
|
||||
})
|
||||
),
|
||||
template: Joi.string(),
|
||||
template: Joi.string().allow(''),
|
||||
time: Joi.string().allow(''),
|
||||
title: Joi.string().required()
|
||||
});
|
||||
|
@ -137,6 +137,7 @@ const jQueryScript = fs.readFileSync(
|
||||
}
|
||||
|
||||
it('Test suite must fail on the initial contents', async function() {
|
||||
this.timeout(20000);
|
||||
// suppress errors in the console.
|
||||
const oldConsoleError = console.error;
|
||||
console.error = () => {};
|
||||
|
Reference in New Issue
Block a user