Skip to content

Commit

Permalink
Increase timeout window
Browse files Browse the repository at this point in the history
  • Loading branch information
fundthmcalculus committed Jul 14, 2022
1 parent 908a616 commit 3743f87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/test/TrustRegistry.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const options = getTestServerOptions();
let trinsic: TrinsicService;

describe("TrustRegistryService Unit Tests", () => {
setTestTimeout();
beforeAll(async () => {
setTestTimeout();
trinsic = new TrinsicService(options);
options.authToken = await trinsic
.account()
Expand Down
2 changes: 1 addition & 1 deletion web/test/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function getTestServerOptions(): ServiceOptions {
return defaults;
}

export function setTestTimeout(timeoutMs: number = 20000) {
export function setTestTimeout(timeoutMs: number = 40000) {
if (typeof jasmine !== "undefined")
jasmine.DEFAULT_TIMEOUT_INTERVAL = timeoutMs;
if (typeof jest !== "undefined") jest.setTimeout(timeoutMs);
Expand Down

0 comments on commit 3743f87

Please sign in to comment.