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:
parent
913b1d71e6
commit
7c3b79768b
80 changed files with 426 additions and 384 deletions
|
@ -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 ])
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue