X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fplugins%2Ffilter-hooks.ts;h=026c7e8566d1dab86d5147f9d6f0018d39ee7e87;hb=910744fb084499a110d26bf5542abebb8a750b19;hp=e05de587d34325fd6b8b38175d775c89f7192752;hpb=e0faa8ad6e18ce6248ef1ec93a59dab5b05be468;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/plugins/filter-hooks.ts b/server/tests/plugins/filter-hooks.ts index e05de587d..026c7e856 100644 --- a/server/tests/plugins/filter-hooks.ts +++ b/server/tests/plugins/filter-hooks.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ -import * as chai from 'chai' +import { expect } from 'chai' import { HttpStatusCode, VideoDetails, VideoImportState, VideoPlaylist, VideoPlaylistPrivacy, VideoPrivacy } from '@shared/models' import { cleanupTests, @@ -15,8 +15,6 @@ import { } from '@shared/server-commands' import { FIXTURE_URLS } from '../shared' -const expect = chai.expect - describe('Test plugin filter hooks', function () { let servers: PeerTubeServer[] let videoUUID: string