X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fhelpers%2Fcore-utils.ts;h=de6ba4f82f22e545f81864be1a138936d93b6d3a;hb=ff91b644fb1b063d0a8eff7492beb1a9bf7e4ce1;hp=e3e5eb45cb878e467b2fea3f09fb33a3ac8f8e01;hpb=714e33a7428b71ef98129ce85a4bd64140bcd912;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/helpers/core-utils.ts b/server/tests/helpers/core-utils.ts index e3e5eb45c..de6ba4f82 100644 --- a/server/tests/helpers/core-utils.ts +++ b/server/tests/helpers/core-utils.ts @@ -1,15 +1,12 @@ /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ -import 'mocha' -import * as chai from 'chai' +import { expect } from 'chai' import { snakeCase } from 'lodash' import validator from 'validator' import { getAverageBitrate, getMaxBitrate } from '@shared/core-utils' import { VideoResolution } from '@shared/models' import { objectConverter, parseBytes, parseDurationToMs } from '../../helpers/core-utils' -const expect = chai.expect - describe('Parse Bytes', function () { it('Should pass on valid value', async function () {