X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fcheck-params%2Fupload-quota.ts;h=f64eafc1839bdddb5045e233666969d5d9f6ae04;hb=bbd5aa7ead5f1554a0872963f957effc26d8c630;hp=322e93d0d53348842c5eb87b73599076d1382dab;hpb=a24bd1ed41b43790bab6ba789580bb4e85f07d85;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/check-params/upload-quota.ts b/server/tests/api/check-params/upload-quota.ts index 322e93d0d..f64eafc18 100644 --- a/server/tests/api/check-params/upload-quota.ts +++ b/server/tests/api/check-params/upload-quota.ts @@ -2,18 +2,18 @@ import 'mocha' import { expect } from 'chai' +import { FIXTURE_URLS } from '@server/tests/shared' import { randomInt } from '@shared/core-utils' +import { HttpStatusCode, VideoImportState, VideoPrivacy } from '@shared/models' import { cleanupTests, createSingleServer, - FIXTURE_URLS, PeerTubeServer, setAccessTokensToServers, setDefaultVideoChannel, VideosCommand, waitJobs -} from '@shared/extra-utils' -import { HttpStatusCode, VideoImportState, VideoPrivacy } from '@shared/models' +} from '@shared/server-commands' describe('Test upload quota', function () { let server: PeerTubeServer @@ -70,7 +70,7 @@ describe('Test upload quota', function () { }) it('Should fail to import with HTTP/Torrent/magnet', async function () { - this.timeout(120000) + this.timeout(120_000) const baseAttributes = { channelId: server.store.channel.id,