diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-24 15:10:37 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-24 16:26:25 +0200 |
commit | 7c3b79768bd174b22154e8d2df0b1211e01ee56a (patch) | |
tree | 9e45c9302083f0438f7ea174f5fb7d6042be5712 /server/tests/api/videos/video-blacklist.ts | |
parent | 913b1d71e630d5a959c763bf565a171b4dc61434 (diff) | |
download | PeerTube-7c3b79768bd174b22154e8d2df0b1211e01ee56a.tar.gz PeerTube-7c3b79768bd174b22154e8d2df0b1211e01ee56a.tar.zst PeerTube-7c3b79768bd174b22154e8d2df0b1211e01ee56a.zip |
Use test wrapper exit function
Diffstat (limited to 'server/tests/api/videos/video-blacklist.ts')
-rw-r--r-- | server/tests/api/videos/video-blacklist.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/videos/video-blacklist.ts b/server/tests/api/videos/video-blacklist.ts index cb15d1a52..e907bbdc0 100644 --- a/server/tests/api/videos/video-blacklist.ts +++ b/server/tests/api/videos/video-blacklist.ts | |||
@@ -4,7 +4,7 @@ import * as chai from 'chai' | |||
4 | import { orderBy } from 'lodash' | 4 | import { orderBy } from 'lodash' |
5 | import 'mocha' | 5 | import 'mocha' |
6 | import { | 6 | import { |
7 | addVideoToBlacklist, | 7 | addVideoToBlacklist, cleanupTests, |
8 | createUser, | 8 | createUser, |
9 | flushAndRunMultipleServers, | 9 | flushAndRunMultipleServers, |
10 | getBlacklistedVideosList, | 10 | getBlacklistedVideosList, |
@@ -425,7 +425,7 @@ describe('Test video blacklist', function () { | |||
425 | }) | 425 | }) |
426 | }) | 426 | }) |
427 | 427 | ||
428 | after(function () { | 428 | after(async function () { |
429 | killallServers(servers) | 429 | await cleanupTests(servers) |
430 | }) | 430 | }) |
431 | }) | 431 | }) |