]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/notifications/moderation-notifications.ts
Fix missing wait jobs
[github/Chocobozzz/PeerTube.git] / server / tests / api / notifications / moderation-notifications.ts
index fa75182e15c42d9d5d581573cde3e9fdf9230e9c..e7a5c47e953f87ddd10a1687bdbfe15e8745d27c 100644 (file)
@@ -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],