Skip to content

Commit

Permalink
fix: increase test timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
Balint Dolla committed Oct 25, 2023
1 parent c375d7d commit 6605006
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/integration/slackEvents.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe("Slack events", () => {
expect(chat.messages![0].text).toEqual(
"Please share your birthday with us! :birthday:",
);
}, 10_000);
}, 20_000);

it("Should send DM to all users when bot joins the channel", async () => {
await sendMockSlackEvent({
Expand All @@ -68,5 +68,5 @@ describe("Slack events", () => {
expect(chat.messages![0].text).toEqual(
"Please share your birthday with us! :birthday:",
);
}, 10_000);
}, 20_000);
});
2 changes: 1 addition & 1 deletion tests/utils/waitForDm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const waitForDm = async (app: App) =>
return chat;
},
{
timeout: 10_000,
timeout: 20_000,
interval: 1_000,
},
);

0 comments on commit 6605006

Please sign in to comment.