]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/check-params/video-blacklist.ts
Use test wrapper exit function
[github/Chocobozzz/PeerTube.git] / server / tests / api / check-params / video-blacklist.ts
index f9c7d9e9a51bdd6c129283eeb442ffe506f714bb..6466888fb5386623139f645f0c7701666591e5ac 100644 (file)
@@ -3,6 +3,7 @@
 import 'mocha'
 
 import {
+  cleanupTests,
   createUser,
   doubleFollow,
   flushAndRunMultipleServers,
@@ -247,7 +248,7 @@ describe('Test video blacklist API validators', function () {
     })
   })
 
-  after(function () {
-    killallServers(servers)
+  after(async function () {
+    await cleanupTests(servers)
   })
 })