1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00

Use test wrapper exit function

This commit is contained in:
Chocobozzz 2019-04-24 15:10:37 +02:00
parent 913b1d71e6
commit 7c3b79768b
No known key found for this signature in database
GPG key ID: 583A612D890159BE
80 changed files with 426 additions and 384 deletions

View file

@ -6,7 +6,7 @@ import { omit } from 'lodash'
import { getMaxBitrate, VideoDetails, VideoResolution, VideoState } from '../../../../shared/models/videos'
import { audio, getVideoFileBitrate, getVideoFileFPS, getVideoFileResolution } from '../../../helpers/ffmpeg-utils'
import {
buildAbsoluteFixturePath,
buildAbsoluteFixturePath, cleanupTests,
doubleFollow,
flushAndRunMultipleServers,
generateHighBitrateVideo,
@ -349,7 +349,7 @@ describe('Test video transcoding', function () {
}
})
after(function () {
killallServers(servers)
after(async function () {
await cleanupTests(servers)
})
})