]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/server/reverse-proxy.ts
Add ability to set a name to a channel
[github/Chocobozzz/PeerTube.git] / server / tests / api / server / reverse-proxy.ts
index 4c2655f64215726408c6e75cf257d33039bd8363..908b4a68cbd3a9cf0d71115ef72f74f22d97da80 100644 (file)
@@ -72,11 +72,6 @@ describe('Test application behind a reverse proxy', function () {
   })
 
   after(async function () {
-    process.kill(-server.app.pid)
-
-    // Keep the logs if the test failed
-    if (this['ok']) {
-      await flushTests()
-    }
+    killallServers([ server ])
   })
 })