diff options
Diffstat (limited to 'server/tests/api/users/user-subscriptions.ts')
-rw-r--r-- | server/tests/api/users/user-subscriptions.ts | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ | |||
3 | import * as chai from 'chai' | 3 | import * as chai from 'chai' |
4 | import 'mocha' | 4 | import 'mocha' |
5 | import { | 5 | import { |
6 | cleanupTests, | ||
6 | createUser, | 7 | createUser, |
7 | doubleFollow, | 8 | doubleFollow, |
8 | flushAndRunMultipleServers, | 9 | flushAndRunMultipleServers, |
@@ -368,7 +369,7 @@ describe('Test users subscriptions', function () { | |||
368 | } | 369 | } |
369 | }) | 370 | }) |
370 | 371 | ||
371 | after(function () { | 372 | after(async function () { |
372 | killallServers(servers) | 373 | await cleanupTests(servers) |
373 | }) | 374 | }) |
374 | }) | 375 | }) |