Skip to content

Commit

Permalink
test(client-common): increase timeout for promiseWithTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewmeconry committed Nov 23, 2023
1 parent c168750 commit eb42c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/client-common/test/unit/promises.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe("Test promise helpers", () => {
it("Should timeout", async () => {
const timeout = 100;
const promise = new Promise((resolve) =>
setTimeout(resolve, timeout * 2)
setTimeout(resolve, timeout * 10)
);
await expect(promiseWithTimeout(promise, timeout)).rejects.toThrow(
"Time out",
Expand Down

0 comments on commit eb42c8d

Please sign in to comment.