diff options
author | Chocobozzz <me@florianbigard.com> | 2022-08-17 15:44:32 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-17 15:47:54 +0200 |
commit | 863477173efa82a4412d2e522aa46462249f9199 (patch) | |
tree | 40f0ae28691780d79acef5ba4dbd2ef0694ce8ff /server/tests/api/notifications/notifications-api.ts | |
parent | e0faa8ad6e18ce6248ef1ec93a59dab5b05be468 (diff) | |
download | PeerTube-863477173efa82a4412d2e522aa46462249f9199.tar.gz PeerTube-863477173efa82a4412d2e522aa46462249f9199.tar.zst PeerTube-863477173efa82a4412d2e522aa46462249f9199.zip |
Cleanup tests imports
Diffstat (limited to 'server/tests/api/notifications/notifications-api.ts')
-rw-r--r-- | server/tests/api/notifications/notifications-api.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/tests/api/notifications/notifications-api.ts b/server/tests/api/notifications/notifications-api.ts index e5d883538..f194656c9 100644 --- a/server/tests/api/notifications/notifications-api.ts +++ b/server/tests/api/notifications/notifications-api.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 | ||
3 | import * as chai from 'chai' | 3 | import { expect } from 'chai' |
4 | import { | 4 | import { |
5 | CheckerBaseParams, | 5 | CheckerBaseParams, |
6 | checkNewVideoFromSubscription, | 6 | checkNewVideoFromSubscription, |
@@ -11,8 +11,6 @@ import { | |||
11 | import { UserNotification, UserNotificationSettingValue } from '@shared/models' | 11 | import { UserNotification, UserNotificationSettingValue } from '@shared/models' |
12 | import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands' | 12 | import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands' |
13 | 13 | ||
14 | const expect = chai.expect | ||
15 | |||
16 | describe('Test notifications API', function () { | 14 | describe('Test notifications API', function () { |
17 | let server: PeerTubeServer | 15 | let server: PeerTubeServer |
18 | let userNotifications: UserNotification[] = [] | 16 | let userNotifications: UserNotification[] = [] |