X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fusers%2Fuser-subscriptions.ts;h=48811e647d172606b4db54aee8fce30270dd8212;hb=97567dd81f508dd6295ac4d73d849aa2ce0a6549;hp=ee5abd6b73e183dbcb3aba49dc5c1640bb9ade18;hpb=210feb6cc484a6c5c63c98f770de34e223f944cb;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/users/user-subscriptions.ts b/server/tests/api/users/user-subscriptions.ts index ee5abd6b7..48811e647 100644 --- a/server/tests/api/users/user-subscriptions.ts +++ b/server/tests/api/users/user-subscriptions.ts @@ -3,6 +3,7 @@ import * as chai from 'chai' import 'mocha' import { + cleanupTests, createUser, doubleFollow, flushAndRunMultipleServers, @@ -368,7 +369,7 @@ describe('Test users subscriptions', function () { } }) - after(function () { - killallServers(servers) + after(async function () { + await cleanupTests(servers) }) })