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
|
@ -19,7 +19,7 @@ import {
|
|||
userLogin,
|
||||
wait,
|
||||
getCustomConfig,
|
||||
updateCustomConfig, getVideoThreadComments, getVideoCommentThreads, follow
|
||||
updateCustomConfig, getVideoThreadComments, getVideoCommentThreads, follow, cleanupTests
|
||||
} from '../../../../shared/extra-utils'
|
||||
import { killallServers, ServerInfo, uploadVideo } from '../../../../shared/extra-utils/index'
|
||||
import { setAccessTokensToServers } from '../../../../shared/extra-utils/users/login'
|
||||
|
@ -1295,9 +1295,9 @@ describe('Test users notifications', function () {
|
|||
})
|
||||
})
|
||||
|
||||
after(function () {
|
||||
after(async function () {
|
||||
MockSmtpServer.Instance.kill()
|
||||
|
||||
killallServers(servers)
|
||||
await cleanupTests(servers)
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue