]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/videos/video-nsfw.ts
Merge branch 'release/4.3.0' into develop
[github/Chocobozzz/PeerTube.git] / server / tests / api / videos / video-nsfw.ts
index 34713025df3c25530da264a71125947d1593046b..65e9c8730b9a80cbd51487d4453978965569bcc8 100644 (file)
@@ -1,12 +1,9 @@
 /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
 
-import 'mocha'
-import * as chai from 'chai'
+import { expect } from 'chai'
 import { cleanupTests, createSingleServer, PeerTubeServer, setAccessTokensToServers } from '@shared/server-commands'
 import { BooleanBothQuery, CustomConfig, ResultList, Video, VideosOverview } from '@shared/models'
 
-const expect = chai.expect
-
 function createOverviewRes (overview: VideosOverview) {
   const videos = overview.categories[0].videos
   return { data: videos, total: videos.length }