diff options
Diffstat (limited to 'server/tests/client.ts')
-rw-r--r-- | server/tests/client.ts | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/server/tests/client.ts b/server/tests/client.ts index 2adb39c5e..687655452 100644 --- a/server/tests/client.ts +++ b/server/tests/client.ts | |||
@@ -11,7 +11,7 @@ import { | |||
11 | runServer, | 11 | runServer, |
12 | serverLogin, | 12 | serverLogin, |
13 | uploadVideo, | 13 | uploadVideo, |
14 | getVideosList, updateCustomConfig, getCustomConfig | 14 | getVideosList, updateCustomConfig, getCustomConfig, killallServers |
15 | } from './utils' | 15 | } from './utils' |
16 | 16 | ||
17 | describe('Test a client controllers', function () { | 17 | describe('Test a client controllers', function () { |
@@ -102,11 +102,6 @@ describe('Test a client controllers', function () { | |||
102 | }) | 102 | }) |
103 | 103 | ||
104 | after(async function () { | 104 | after(async function () { |
105 | process.kill(-server.app.pid) | 105 | killallServers([ server ]) |
106 | |||
107 | // Keep the logs if the test failed | ||
108 | if (this['ok']) { | ||
109 | await flushTests() | ||
110 | } | ||
111 | }) | 106 | }) |
112 | }) | 107 | }) |