aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/moderation/blocklist-notification.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-22 09:20:28 +0200
committerChocobozzz <me@florianbigard.com>2023-05-22 09:22:08 +0200
commit33b91e53d21fba295ecf516b717fb36e91990771 (patch)
treec3e6c31636a47b64c164c1e91ee2125bbc61339e /server/tests/api/moderation/blocklist-notification.ts
parent679f8800cdc0ef925fae9ca26fb2892a8f475ad5 (diff)
downloadPeerTube-33b91e53d21fba295ecf516b717fb36e91990771.tar.gz
PeerTube-33b91e53d21fba295ecf516b717fb36e91990771.tar.zst
PeerTube-33b91e53d21fba295ecf516b717fb36e91990771.zip
Remove low timeouts
Default timeout is 30s
Diffstat (limited to 'server/tests/api/moderation/blocklist-notification.ts')
-rw-r--r--server/tests/api/moderation/blocklist-notification.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/server/tests/api/moderation/blocklist-notification.ts b/server/tests/api/moderation/blocklist-notification.ts
index eb092a1df..9c2863a58 100644
--- a/server/tests/api/moderation/blocklist-notification.ts
+++ b/server/tests/api/moderation/blocklist-notification.ts
@@ -113,8 +113,6 @@ describe('Test blocklist notifications', function () {
113 }) 113 })
114 114
115 it('Should block an account', async function () { 115 it('Should block an account', async function () {
116 this.timeout(10000)
117
118 await servers[0].blocklist.addToMyBlocklist({ token: userToken1, account: 'user3@' + servers[1].host }) 116 await servers[0].blocklist.addToMyBlocklist({ token: userToken1, account: 'user3@' + servers[1].host })
119 await waitJobs(servers) 117 await waitJobs(servers)
120 }) 118 })
@@ -146,8 +144,6 @@ describe('Test blocklist notifications', function () {
146 }) 144 })
147 145
148 it('Should block an account', async function () { 146 it('Should block an account', async function () {
149 this.timeout(10000)
150
151 await servers[0].blocklist.addToMyBlocklist({ token: userToken1, server: servers[1].host }) 147 await servers[0].blocklist.addToMyBlocklist({ token: userToken1, server: servers[1].host })
152 await waitJobs(servers) 148 await waitJobs(servers)
153 }) 149 })
@@ -186,8 +182,6 @@ describe('Test blocklist notifications', function () {
186 }) 182 })
187 183
188 it('Should block an account', async function () { 184 it('Should block an account', async function () {
189 this.timeout(10000)
190
191 await servers[0].blocklist.addToServerBlocklist({ account: 'user3@' + servers[1].host }) 185 await servers[0].blocklist.addToServerBlocklist({ account: 'user3@' + servers[1].host })
192 await waitJobs(servers) 186 await waitJobs(servers)
193 }) 187 })
@@ -221,8 +215,6 @@ describe('Test blocklist notifications', function () {
221 }) 215 })
222 216
223 it('Should block an account', async function () { 217 it('Should block an account', async function () {
224 this.timeout(10000)
225
226 await servers[0].blocklist.addToServerBlocklist({ server: servers[1].host }) 218 await servers[0].blocklist.addToServerBlocklist({ server: servers[1].host })
227 await waitJobs(servers) 219 await waitJobs(servers)
228 }) 220 })