X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fnotifications%2Fuser-notifications.ts;h=0bd474c09df098ea90b5c5cac69ccf7796b61b5c;hb=21d68e68039a1eefbe6213fbde46e737e520ee7d;hp=9af20843ecaca8e34b744fd85f8724b89873fe44;hpb=33675a4775d1e1e9dcb58e7e53f5027b81262622;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.ts index 9af20843e..0bd474c09 100644 --- a/server/tests/api/notifications/user-notifications.ts +++ b/server/tests/api/notifications/user-notifications.ts @@ -2,23 +2,20 @@ import 'mocha' import * as chai from 'chai' -import { buildUUID } from '@server/helpers/uuid' import { CheckerBaseParams, checkMyVideoImportIsFinished, checkNewActorFollow, checkNewVideoFromSubscription, checkVideoIsPublished, - cleanupTests, FIXTURE_URLS, MockSmtpServer, - PeerTubeServer, prepareNotificationsTest, - uploadRandomVideoOnServers, - wait, - waitJobs -} from '@shared/extra-utils' + uploadRandomVideoOnServers +} from '@server/tests/shared' +import { buildUUID, wait } from '@shared/core-utils' import { UserNotification, UserNotificationType, VideoPrivacy } from '@shared/models' +import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands' const expect = chai.expect @@ -128,7 +125,7 @@ describe('Test user notifications', function () { }) it('Should not send a notification before the video is published', async function () { - this.timeout(50000) + this.timeout(150000) const updateAt = new Date(new Date().getTime() + 1000000)