X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fvideos%2Fvideos-filter.ts;h=e1e65260fe1868198f795a9f9dcc419e65b9b645;hb=7c3b79768bd174b22154e8d2df0b1211e01ee56a;hp=179610595c40a832355ca52f449f003b30e6ac28;hpb=210feb6cc484a6c5c63c98f770de34e223f944cb;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/videos/videos-filter.ts b/server/tests/api/videos/videos-filter.ts index 179610595..e1e65260f 100644 --- a/server/tests/api/videos/videos-filter.ts +++ b/server/tests/api/videos/videos-filter.ts @@ -3,6 +3,7 @@ import * as chai from 'chai' import 'mocha' import { + cleanupTests, createUser, doubleFollow, flushAndRunMultipleServers, @@ -119,7 +120,7 @@ describe('Test videos filter validator', function () { }) }) - after(function () { - killallServers(servers) + after(async function () { + await cleanupTests(servers) }) })