X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fcheck-params%2Ftranscoding.ts;h=9846ac18296b257b5a91ff96ff46cf52d36511ca;hb=3f3530c3dbc5339b4cba53710b8568b4ad39152e;hp=a8daafe3e9d5059ae58a4fbf73f837056142f96e;hpb=ad5db1044c8599eaaaa2a578b350777ae996b068;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/check-params/transcoding.ts b/server/tests/api/check-params/transcoding.ts index a8daafe3e..9846ac182 100644 --- a/server/tests/api/check-params/transcoding.ts +++ b/server/tests/api/check-params/transcoding.ts @@ -1,8 +1,14 @@ /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ -import 'mocha' -import { cleanupTests, createMultipleServers, doubleFollow, PeerTubeServer, setAccessTokensToServers, waitJobs } from '@shared/extra-utils' import { HttpStatusCode, UserRole } from '@shared/models' +import { + cleanupTests, + createMultipleServers, + doubleFollow, + PeerTubeServer, + setAccessTokensToServers, + waitJobs +} from '@shared/server-commands' describe('Test transcoding API validators', function () { let servers: PeerTubeServer[] @@ -16,7 +22,7 @@ describe('Test transcoding API validators', function () { // --------------------------------------------------------------- before(async function () { - this.timeout(60000) + this.timeout(120000) servers = await createMultipleServers(2) await setAccessTokensToServers(servers)