]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/check-params/jobs.ts
Fix broken playlist api
[github/Chocobozzz/PeerTube.git] / server / tests / api / check-params / jobs.ts
index ec2be0b9f8f5e01aada8a8dd0d3e3d8dee05fdcc..c7013951424d69a43012600acdfb63e9c41a7740 100644 (file)
@@ -9,7 +9,8 @@ import {
   flushAndRunServer,
   ServerInfo,
   setAccessTokensToServers,
-  userLogin
+  userLogin,
+  cleanupTests
 } from '../../../../shared/extra-utils'
 import {
   checkBadCountPagination,
@@ -80,7 +81,7 @@ describe('Test jobs API validators', function () {
     })
   })
 
-  after(function () {
-    killallServers([ server ])
+  after(async function () {
+    await cleanupTests([ server ])
   })
 })