]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/videos/video-captions.ts
Cleanup tests imports
[github/Chocobozzz/PeerTube.git] / server / tests / api / videos / video-captions.ts
index b68e5e6e81d3a196fdbd9e2215ce61580a933949..0630c9d3a70bdd96c08ab73796e0775ee91b2735 100644 (file)
@@ -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 { checkVideoFilesWereRemoved, testCaptionFile } from '@server/tests/shared'
 import { wait } from '@shared/core-utils'
 import {
@@ -12,8 +12,6 @@ import {
   waitJobs
 } from '@shared/server-commands'
 
-const expect = chai.expect
-
 describe('Test video captions', function () {
   const uuidRegex = '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'