1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +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

@ -9,7 +9,7 @@ import {
flushAndRunServer,
ServerInfo,
setAccessTokensToServers,
userLogin
userLogin, cleanupTests
} from '../../../../shared/extra-utils'
import { makeGetRequest } from '../../../../shared/extra-utils/requests/requests'
@ -65,7 +65,7 @@ describe('Test debug API validators', function () {
})
})
after(function () {
killallServers([ server ])
after(async function () {
await cleanupTests([ server ])
})
})