Skip to content

Commit

Permalink
fix(api): increase timeout value in module-datasource test to avoid f…
Browse files Browse the repository at this point in the history
…laky
  • Loading branch information
dianeCdrPix authored and yannbertrand committed Nov 7, 2024
1 parent 75fe625 commit a4f1ba8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe('Unit | Infrastructure | Datasources | Learning Content | ModuleDatasou
modules.forEach((module) => {
it(`module "${module.slug}" should contain a valid structure`, async function () {
// We need to increase the timeout because the validation can be slow for large modules
this.timeout(3000);
this.timeout(5000);
try {
await moduleSchema.validateAsync(module, { abortEarly: false });
} catch (joiError) {
Expand Down

0 comments on commit a4f1ba8

Please sign in to comment.