diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6263f46db..d5898c7c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,15 +32,6 @@ jobs: - runtime: bun task: build command: bunx tsc -p tsconfig.json - - runtime: bun - task: lint - command: bunx biome check src - - runtime: bun - task: test - command: bunx vitest run - - runtime: bun - task: build - command: bunx tsc -p tsconfig.json steps: - name: Checkout uses: actions/checkout@v4 diff --git a/src/telegram/bot.media.test.ts b/src/telegram/bot.media.test.ts index 1b6384e97..791e25fdf 100644 --- a/src/telegram/bot.media.test.ts +++ b/src/telegram/bot.media.test.ts @@ -230,7 +230,7 @@ describe("telegram media groups", () => { expectedCalls: number, ) => { await expect - .poll(() => replySpy.mock.calls.length, { timeout: 2000 }) + .poll(() => replySpy.mock.calls.length, { timeout: 10_000 }) .toBe(expectedCalls); }; @@ -302,7 +302,7 @@ describe("telegram media groups", () => { expect(payload.MediaPaths).toHaveLength(2); fetchSpy.mockRestore(); - }, 2000); + }, 10_000); it("processes separate media groups independently", async () => { const { createTelegramBot } = await import("./bot.js"); @@ -359,7 +359,7 @@ describe("telegram media groups", () => { expect(replySpy).toHaveBeenCalledTimes(2); fetchSpy.mockRestore(); - }, 2000); + }, 10_000); }); describe("telegram location parsing", () => {