X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=server%2Ftests%2Fapi%2Fserver%2Ffollows-moderation.ts;h=2a3a4d5c823516c1ddc9e5147bcad733c9d192a6;hb=7c3b79768bd174b22154e8d2df0b1211e01ee56a;hp=ae8716184f5b522f7ad7e0fc2993425b117cb640;hpb=210feb6cc484a6c5c63c98f770de34e223f944cb;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/server/follows-moderation.ts b/server/tests/api/server/follows-moderation.ts index ae8716184..2a3a4d5c8 100644 --- a/server/tests/api/server/follows-moderation.ts +++ b/server/tests/api/server/follows-moderation.ts @@ -3,7 +3,7 @@ import * as chai from 'chai' import 'mocha' import { - acceptFollower, + acceptFollower, cleanupTests, flushAndRunMultipleServers, killallServers, ServerInfo, @@ -189,7 +189,7 @@ describe('Test follows moderation', function () { } }) - after(function () { - killallServers(servers) + after(async function () { + await cleanupTests(servers) }) })