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/cli/create-transcoding-job.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/cli/create-transcoding-job.ts')
-rw-r--r-- | server/tests/cli/create-transcoding-job.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/tests/cli/create-transcoding-job.ts b/server/tests/cli/create-transcoding-job.ts index 61c310bc3..1c0e10066 100644 --- a/server/tests/cli/create-transcoding-job.ts +++ b/server/tests/cli/create-transcoding-job.ts | |||
@@ -4,6 +4,7 @@ import 'mocha' | |||
4 | import * as chai from 'chai' | 4 | import * as chai from 'chai' |
5 | import { VideoDetails } from '../../../shared/models/videos' | 5 | import { VideoDetails } from '../../../shared/models/videos' |
6 | import { | 6 | import { |
7 | cleanupTests, | ||
7 | doubleFollow, | 8 | doubleFollow, |
8 | execCLI, | 9 | execCLI, |
9 | flushAndRunMultipleServers, | 10 | flushAndRunMultipleServers, |
@@ -124,7 +125,7 @@ describe('Test create transcoding jobs', function () { | |||
124 | } | 125 | } |
125 | }) | 126 | }) |
126 | 127 | ||
127 | after(function () { | 128 | after(async function () { |
128 | killallServers(servers) | 129 | await cleanupTests(servers) |
129 | }) | 130 | }) |
130 | }) | 131 | }) |