Skip to content

Commit

Permalink
Move jest.setTimeout() to top level to fix possible regression
Browse files Browse the repository at this point in the history
  • Loading branch information
ocean90 committed Jun 2, 2021
1 parent a89e184 commit 7bef0a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/linters/linters.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ if (process.platform === "darwin") {
}

const tmpDir = createTmpDir();
jest.setTimeout(70000);

// Copy linter test projects into temporary directory
beforeAll(async () => {
jest.setTimeout(60000);
await copy(join(__dirname, "projects"), tmpDir);
});

Expand Down

1 comment on commit 7bef0a6

@txeto90
Copy link

@txeto90 txeto90 commented on 7bef0a6 Nov 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello! I move jest.setTimeout(600000) to top level and I have an timeout error 600ms.
are there any solution for this issue? Thanks so much.

TimeoutError: Element .breadcrumb-container not found waiting for function failed: timeout 600ms exceeded

Please sign in to comment.