]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/views/video-views-timeserie-stats.ts
Also retry when fetching master m3u8 playlist
[github/Chocobozzz/PeerTube.git] / server / tests / api / views / video-views-timeserie-stats.ts
index d6c89a63ef9a89e64e18c03e66b49e3d4175a485..e8cb34ad63706900f7391fb6fbbc8e75b8b1fdb1 100644 (file)
@@ -1,13 +1,11 @@
 /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
 
-import * as chai from 'chai'
+import { expect } from 'chai'
 import { FfmpegCommand } from 'fluent-ffmpeg'
 import { prepareViewsServers, prepareViewsVideos, processViewersStats } from '@server/tests/shared'
 import { VideoStatsTimeserie, VideoStatsTimeserieMetric } from '@shared/models'
 import { cleanupTests, PeerTubeServer, stopFfmpeg } from '@shared/server-commands'
 
-const expect = chai.expect
-
 function buildOneMonthAgo () {
   const monthAgo = new Date()
   monthAgo.setHours(0, 0, 0, 0)