diff options
Diffstat (limited to 'server/tests/api/notifications')
3 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/notifications/comments-notifications.ts b/server/tests/api/notifications/comments-notifications.ts index 65007193a..0a4bfc5e4 100644 --- a/server/tests/api/notifications/comments-notifications.ts +++ b/server/tests/api/notifications/comments-notifications.ts | |||
@@ -170,7 +170,7 @@ describe('Test comments notifications', function () { | |||
170 | let baseParams: CheckerBaseParams | 170 | let baseParams: CheckerBaseParams |
171 | const byAccountDisplayName = 'super root name' | 171 | const byAccountDisplayName = 'super root name' |
172 | 172 | ||
173 | before(async () => { | 173 | before(async function () { |
174 | baseParams = { | 174 | baseParams = { |
175 | server: servers[0], | 175 | server: servers[0], |
176 | emails, | 176 | emails, |
diff --git a/server/tests/api/notifications/moderation-notifications.ts b/server/tests/api/notifications/moderation-notifications.ts index d80de821e..e7a5c47e9 100644 --- a/server/tests/api/notifications/moderation-notifications.ts +++ b/server/tests/api/notifications/moderation-notifications.ts | |||
@@ -331,7 +331,7 @@ describe('Test moderation notifications', function () { | |||
331 | let config: any | 331 | let config: any |
332 | let baseParams: CheckerBaseParams | 332 | let baseParams: CheckerBaseParams |
333 | 333 | ||
334 | before(async () => { | 334 | before(async function () { |
335 | baseParams = { | 335 | baseParams = { |
336 | server: servers[0], | 336 | server: servers[0], |
337 | emails, | 337 | emails, |
@@ -427,7 +427,7 @@ describe('Test moderation notifications', function () { | |||
427 | let videoName: string | 427 | let videoName: string |
428 | let currentCustomConfig: CustomConfig | 428 | let currentCustomConfig: CustomConfig |
429 | 429 | ||
430 | before(async () => { | 430 | before(async function () { |
431 | 431 | ||
432 | adminBaseParamsServer1 = { | 432 | adminBaseParamsServer1 = { |
433 | server: servers[0], | 433 | server: servers[0], |
diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.ts index 7a8a234c2..55da10265 100644 --- a/server/tests/api/notifications/user-notifications.ts +++ b/server/tests/api/notifications/user-notifications.ts | |||
@@ -484,7 +484,7 @@ describe('Test user notifications', function () { | |||
484 | const myChannelName = 'super channel name' | 484 | const myChannelName = 'super channel name' |
485 | const myUserName = 'super user name' | 485 | const myUserName = 'super user name' |
486 | 486 | ||
487 | before(async () => { | 487 | before(async function () { |
488 | baseParams = { | 488 | baseParams = { |
489 | server: servers[0], | 489 | server: servers[0], |
490 | emails, | 490 | emails, |