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/check-params/debug.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/check-params/debug.ts')
-rw-r--r-- | server/tests/api/check-params/debug.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/check-params/debug.ts b/server/tests/api/check-params/debug.ts index dd00ed9e1..8dad26723 100644 --- a/server/tests/api/check-params/debug.ts +++ b/server/tests/api/check-params/debug.ts | |||
@@ -9,7 +9,7 @@ import { | |||
9 | flushAndRunServer, | 9 | flushAndRunServer, |
10 | ServerInfo, | 10 | ServerInfo, |
11 | setAccessTokensToServers, | 11 | setAccessTokensToServers, |
12 | userLogin | 12 | userLogin, cleanupTests |
13 | } from '../../../../shared/extra-utils' | 13 | } from '../../../../shared/extra-utils' |
14 | import { makeGetRequest } from '../../../../shared/extra-utils/requests/requests' | 14 | import { makeGetRequest } from '../../../../shared/extra-utils/requests/requests' |
15 | 15 | ||
@@ -65,7 +65,7 @@ describe('Test debug API validators', function () { | |||
65 | }) | 65 | }) |
66 | }) | 66 | }) |
67 | 67 | ||
68 | after(function () { | 68 | after(async function () { |
69 | killallServers([ server ]) | 69 | await cleanupTests([ server ]) |
70 | }) | 70 | }) |
71 | }) | 71 | }) |