aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/notifications/moderation-notifications.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-11 10:36:05 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-12-14 09:11:27 +0100
commit59fd824cf3434a8417b73230f1840fed327e3495 (patch)
treeb3c25022099adf2a41ed8da5328c4147d60add83 /server/tests/api/notifications/moderation-notifications.ts
parent34caef7fc0710623c6894549423813d53f65b303 (diff)
downloadPeerTube-59fd824cf3434a8417b73230f1840fed327e3495.tar.gz
PeerTube-59fd824cf3434a8417b73230f1840fed327e3495.tar.zst
PeerTube-59fd824cf3434a8417b73230f1840fed327e3495.zip
Fix tests timeout
Diffstat (limited to 'server/tests/api/notifications/moderation-notifications.ts')
-rw-r--r--server/tests/api/notifications/moderation-notifications.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/notifications/moderation-notifications.ts b/server/tests/api/notifications/moderation-notifications.ts
index 24c91a365..81f02ff99 100644
--- a/server/tests/api/notifications/moderation-notifications.ts
+++ b/server/tests/api/notifications/moderation-notifications.ts
@@ -546,7 +546,7 @@ describe('Test moderation notifications', function () {
546 }) 546 })
547 547
548 it('Should send unblacklist but not published/subscription notes after unblacklisted if scheduled update pending', async function () { 548 it('Should send unblacklist but not published/subscription notes after unblacklisted if scheduled update pending', async function () {
549 this.timeout(20000) 549 this.timeout(40000)
550 550
551 const updateAt = new Date(new Date().getTime() + 1000000) 551 const updateAt = new Date(new Date().getTime() + 1000000)
552 552
@@ -578,7 +578,7 @@ describe('Test moderation notifications', function () {
578 }) 578 })
579 579
580 it('Should not send publish/subscription notifications after scheduled update if video still auto-blacklisted', async function () { 580 it('Should not send publish/subscription notifications after scheduled update if video still auto-blacklisted', async function () {
581 this.timeout(20000) 581 this.timeout(40000)
582 582
583 // In 2 seconds 583 // In 2 seconds
584 const updateAt = new Date(new Date().getTime() + 2000) 584 const updateAt = new Date(new Date().getTime() + 2000)
@@ -604,7 +604,7 @@ describe('Test moderation notifications', function () {
604 }) 604 })
605 605
606 it('Should not send a notification to moderators on new video without auto-blacklist', async function () { 606 it('Should not send a notification to moderators on new video without auto-blacklist', async function () {
607 this.timeout(20000) 607 this.timeout(40000)
608 608
609 const name = 'video without auto-blacklist ' + uuidv4() 609 const name = 'video without auto-blacklist ' + uuidv4()
610 610