diff --git a/tests/integration/slackEvents.test.ts b/tests/integration/slackEvents.test.ts index 3bf0be9..59f42da 100644 --- a/tests/integration/slackEvents.test.ts +++ b/tests/integration/slackEvents.test.ts @@ -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({ @@ -68,5 +68,5 @@ describe("Slack events", () => { expect(chat.messages![0].text).toEqual( "Please share your birthday with us! :birthday:", ); - }, 10_000); + }, 20_000); }); diff --git a/tests/utils/waitForDm.ts b/tests/utils/waitForDm.ts index e6a712d..505576a 100644 --- a/tests/utils/waitForDm.ts +++ b/tests/utils/waitForDm.ts @@ -16,7 +16,7 @@ export const waitForDm = async (app: App) => return chat; }, { - timeout: 10_000, + timeout: 15_000, interval: 1_000, }, );