Skip to content

Commit 9139426

Browse files
committed
Increase timeout for skeleton wizard tests
We've now added more tests and pushed the total duration over 5 seconds for all the tests in this file. This limitation seems to be a recent development where files with tests that last longer than 5 seconds start failing in jest. We're bumping the timeout limit to 40 seconds for now.
1 parent 62bebc0 commit 9139426

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extensions/ql-vscode/test/vscode-tests/cli-integration/skeleton-query-wizard.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import { testCredentialsWithStub } from "../../factories/authentication";
1616
import { DatabaseItem, DatabaseManager } from "../../../src/local-databases";
1717
import * as databaseFetcher from "../../../src/databaseFetcher";
1818

19+
jest.setTimeout(40_000);
20+
1921
describe("SkeletonQueryWizard", () => {
2022
let wizard: SkeletonQueryWizard;
2123
let dir: tmp.DirResult;

0 commit comments

Comments
 (0)