diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-28 15:07:46 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-28 15:10:55 +0100 |
commit | 81d02aac56d76227c094d40b17b29875d88417f4 (patch) | |
tree | 3d99f59bb4edc18cf15b1f7843617ff942a3ef96 /server/tests | |
parent | 10a72a7e617273cdbe897766f77f427eb57b689a (diff) | |
download | PeerTube-81d02aac56d76227c094d40b17b29875d88417f4.tar.gz PeerTube-81d02aac56d76227c094d40b17b29875d88417f4.tar.zst PeerTube-81d02aac56d76227c094d40b17b29875d88417f4.zip |
Fix types package dependencies
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/server/follow-constraints.ts | 2 | ||||
-rw-r--r-- | server/tests/api/server/follows.ts | 2 | ||||
-rw-r--r-- | server/tests/api/users/users.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/server/follow-constraints.ts b/server/tests/api/server/follow-constraints.ts index 0f3c138ad..455fbc762 100644 --- a/server/tests/api/server/follow-constraints.ts +++ b/server/tests/api/server/follow-constraints.ts | |||
@@ -14,7 +14,7 @@ describe('Test follow constraints', function () { | |||
14 | let userToken: string | 14 | let userToken: string |
15 | 15 | ||
16 | before(async function () { | 16 | before(async function () { |
17 | this.timeout(90000) | 17 | this.timeout(240000) |
18 | 18 | ||
19 | servers = await createMultipleServers(2) | 19 | servers = await createMultipleServers(2) |
20 | 20 | ||
diff --git a/server/tests/api/server/follows.ts b/server/tests/api/server/follows.ts index cd34df15d..c588cf664 100644 --- a/server/tests/api/server/follows.ts +++ b/server/tests/api/server/follows.ts | |||
@@ -12,7 +12,7 @@ describe('Test follows', function () { | |||
12 | let servers: PeerTubeServer[] = [] | 12 | let servers: PeerTubeServer[] = [] |
13 | 13 | ||
14 | before(async function () { | 14 | before(async function () { |
15 | this.timeout(30000) | 15 | this.timeout(120000) |
16 | 16 | ||
17 | servers = await createMultipleServers(3) | 17 | servers = await createMultipleServers(3) |
18 | 18 | ||
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts index ff9172a82..7023b3f08 100644 --- a/server/tests/api/users/users.ts +++ b/server/tests/api/users/users.ts | |||
@@ -230,7 +230,7 @@ describe('Test users', function () { | |||
230 | }) | 230 | }) |
231 | 231 | ||
232 | it('Should have an expired access token', async function () { | 232 | it('Should have an expired access token', async function () { |
233 | this.timeout(15000) | 233 | this.timeout(60000) |
234 | 234 | ||
235 | await server.sql.setTokenField(server.accessToken, 'accessTokenExpiresAt', new Date().toISOString()) | 235 | await server.sql.setTokenField(server.accessToken, 'accessTokenExpiresAt', new Date().toISOString()) |
236 | await server.sql.setTokenField(server.accessToken, 'refreshTokenExpiresAt', new Date().toISOString()) | 236 | await server.sql.setTokenField(server.accessToken, 'refreshTokenExpiresAt', new Date().toISOString()) |