Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

Commit

Permalink
tests: increase timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed May 10, 2020
1 parent 666b7f9 commit bb53196
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export default () => {
],
};
expect(metaFiles).to.deep.equal([fileMeta]);
});
}).timeout(5000);
test('Test build spec', () => {
const metas = Builders.buildMetaForFiles([fileToScan]);
const document = new DocumentBuilder();
Expand Down Expand Up @@ -270,6 +270,6 @@ export default () => {
tags: [],
};
expect(Spec.buildSpecFromCollectedMeta(metas, document)).to.deep.equal(oa);
});
}).timeout(5000);
});
};
2 changes: 1 addition & 1 deletion test/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ export default () => {
expect(spec).to.deep.equal(oa);
const specJson = TypeScriptOpenAPIBuilder.buildJsonSpec(document, dirToScan, /.*\.ts$/);
expect(JSON.parse(specJson)).to.deep.equal(oa);
});
}).timeout(5000);
});
};

0 comments on commit bb53196

Please sign in to comment.