aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/misc-endpoints.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/misc-endpoints.ts')
-rw-r--r--server/tests/misc-endpoints.ts9
1 files changed, 4 insertions, 5 deletions
diff --git a/server/tests/misc-endpoints.ts b/server/tests/misc-endpoints.ts
index d5c7d9dd4..ed406e1bc 100644
--- a/server/tests/misc-endpoints.ts
+++ b/server/tests/misc-endpoints.ts
@@ -4,11 +4,10 @@ import 'mocha'
4import * as chai from 'chai' 4import * as chai from 'chai'
5import { 5import {
6 addVideoChannel, 6 addVideoChannel,
7 cleanupTests,
7 createUser, 8 createUser,
8 flushTests,
9 killallServers,
10 makeGetRequest,
11 flushAndRunServer, 9 flushAndRunServer,
10 makeGetRequest,
12 ServerInfo, 11 ServerInfo,
13 setAccessTokensToServers, 12 setAccessTokensToServers,
14 uploadVideo 13 uploadVideo
@@ -171,7 +170,7 @@ describe('Test misc endpoints', function () {
171 }) 170 })
172 }) 171 })
173 172
174 after(function () { 173 after(async function () {
175 killallServers([ server ]) 174 await cleanupTests([ server ])
176 }) 175 })
177}) 176})