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.
This commit is contained in:
Elena Tanasoiu
2023-04-03 18:08:50 +00:00
parent 62bebc02bd
commit 913942625c

View File

@@ -16,6 +16,8 @@ import { testCredentialsWithStub } from "../../factories/authentication";
import { DatabaseItem, DatabaseManager } from "../../../src/local-databases";
import * as databaseFetcher from "../../../src/databaseFetcher";
jest.setTimeout(40_000);
describe("SkeletonQueryWizard", () => {
let wizard: SkeletonQueryWizard;
let dir: tmp.DirResult;