aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/video-schedule-update.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/videos/video-schedule-update.ts')
-rw-r--r--server/tests/api/videos/video-schedule-update.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/tests/api/videos/video-schedule-update.ts b/server/tests/api/videos/video-schedule-update.ts
index 7865b3439..73f1519d9 100644
--- a/server/tests/api/videos/video-schedule-update.ts
+++ b/server/tests/api/videos/video-schedule-update.ts
@@ -1,6 +1,6 @@
1/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ 1/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
2 2
3import * as chai from 'chai' 3import { expect } from 'chai'
4import { wait } from '@shared/core-utils' 4import { wait } from '@shared/core-utils'
5import { VideoPrivacy } from '@shared/models' 5import { VideoPrivacy } from '@shared/models'
6import { 6import {
@@ -12,8 +12,6 @@ import {
12 waitJobs 12 waitJobs
13} from '@shared/server-commands' 13} from '@shared/server-commands'
14 14
15const expect = chai.expect
16
17function in10Seconds () { 15function in10Seconds () {
18 const now = new Date() 16 const now = new Date()
19 now.setSeconds(now.getSeconds() + 10) 17 now.setSeconds(now.getSeconds() + 10)