X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fobject-storage%2Fvideos.ts;h=3e65e10939a9b8e078b61fe1c0f90d450c70959e;hb=38a3ccc7f8ad0ea94362b58c732af7c387ab46be;hp=e288e542e55dc43d118a988d9f5cc6e72e22a219;hpb=cf0dd18abce9ab98d7bf5d209cc5401f97d4d463;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/object-storage/videos.ts b/server/tests/api/object-storage/videos.ts index e288e542e..3e65e1093 100644 --- a/server/tests/api/object-storage/videos.ts +++ b/server/tests/api/object-storage/videos.ts @@ -1,8 +1,7 @@ /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ -import 'mocha' import bytes from 'bytes' -import * as chai from 'chai' +import { expect } from 'chai' import { stat } from 'fs-extra' import { merge } from 'lodash' import { @@ -28,8 +27,6 @@ import { webtorrentAdd } from '@shared/server-commands' -const expect = chai.expect - async function checkFiles (options: { video: VideoDetails