From dba22e794627d0eb3cd66b7b7d1170d71da777a8 Mon Sep 17 00:00:00 2001 From: Alina Sireneva Date: Mon, 11 Dec 2023 12:21:39 +0300 Subject: [PATCH] test(e2e): increased base-client timeout to 5min --- e2e/cjs/tests/base-client.js | 2 +- e2e/esm/tests/base-client.js | 2 +- e2e/ts/tests/base-client.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/cjs/tests/base-client.js b/e2e/cjs/tests/base-client.js index f3ecddf6..c1bd3b92 100644 --- a/e2e/cjs/tests/base-client.js +++ b/e2e/cjs/tests/base-client.js @@ -5,7 +5,7 @@ const { expect } = require('chai') const { getApiParams } = require('../utils') describe('@mtcute/core', function () { - this.timeout(60_000) + this.timeout(300_000) it('connects to test DC and makes help.getNearestDc', async () => { const tg = new BaseTelegramClient({ diff --git a/e2e/esm/tests/base-client.js b/e2e/esm/tests/base-client.js index d8e9e2a0..645ccb9b 100644 --- a/e2e/esm/tests/base-client.js +++ b/e2e/esm/tests/base-client.js @@ -6,7 +6,7 @@ import { BaseTelegramClient } from '@mtcute/core' import { getApiParams } from '../utils.js' describe('@mtcute/core', function () { - this.timeout(60_000) + this.timeout(300_000) it('connects to test DC and makes help.getNearestDc', async () => { const tg = new BaseTelegramClient({ diff --git a/e2e/ts/tests/base-client.ts b/e2e/ts/tests/base-client.ts index e3918ab2..d3acf7e0 100644 --- a/e2e/ts/tests/base-client.ts +++ b/e2e/ts/tests/base-client.ts @@ -7,7 +7,7 @@ import { BaseTelegramClient } from '@mtcute/core' import { getApiParams } from '../utils' describe('@mtcute/core', function () { - this.timeout(60_000) + this.timeout(300_000) it('connects to test DC and makes help.getNearestDc', async () => { const tg = new BaseTelegramClient({