Skip to content

Commit

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

0 comments on commit 0d195c2

Please sign in to comment.