Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
Set 20sec timeout for license check test
Browse files Browse the repository at this point in the history
  • Loading branch information
germanz committed Jan 21, 2021
1 parent bc3db06 commit 7f01d72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/LicenseHeaderTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ const AUTO_FIX = process.argv.slice(2).includes("--fix");

describe("LicenseHeaderCheck", function () {
it("Contains correct license header", function (done) {
// In some cases (coverage run on CI) --no-timeouts flag is not passed,
// so we have to set it here specifically.
this.timeout(20000);
const sourceFiles = glob
.sync(path.join(__dirname, "..", "**/*.ts"))
.filter(file => !file.includes("/node_modules/"))
Expand Down

0 comments on commit 7f01d72

Please sign in to comment.