X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fnotifications%2Fmoderation-notifications.ts;h=e7a5c47e953f87ddd10a1687bdbfe15e8745d27c;hb=d1c64fd970fc236b9ba01ac944659051e9e04a99;hp=fa75182e15c42d9d5d581573cde3e9fdf9230e9c;hpb=9d1e41e8bbd9afd961f2dd48c791a3be114e878d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/notifications/moderation-notifications.ts b/server/tests/api/notifications/moderation-notifications.ts index fa75182e1..e7a5c47e9 100644 --- a/server/tests/api/notifications/moderation-notifications.ts +++ b/server/tests/api/notifications/moderation-notifications.ts @@ -33,7 +33,7 @@ describe('Test moderation notifications', function () { let emails: object[] = [] before(async function () { - this.timeout(50000) + this.timeout(120000) const res = await prepareNotificationsTest(3) emails = res.emails @@ -331,7 +331,7 @@ describe('Test moderation notifications', function () { let config: any let baseParams: CheckerBaseParams - before(async () => { + before(async function () { baseParams = { server: servers[0], emails, @@ -427,7 +427,7 @@ describe('Test moderation notifications', function () { let videoName: string let currentCustomConfig: CustomConfig - before(async () => { + before(async function () { adminBaseParamsServer1 = { server: servers[0],