]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/notifications/comments-notifications.ts
Decrease plugin version check for tests
[github/Chocobozzz/PeerTube.git] / server / tests / api / notifications / comments-notifications.ts
index b82f1712a0042160d1499a527a76331f9a0060e2..4214687f88143dd1426a6a167b21261bc548d7f2 100644 (file)
@@ -1,7 +1,6 @@
 /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
 
-import 'mocha'
-import * as chai from 'chai'
+import { expect } from 'chai'
 import {
   checkCommentMention,
   CheckerBaseParams,
@@ -12,8 +11,6 @@ import {
 import { UserNotification } from '@shared/models'
 import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands'
 
-const expect = chai.expect
-
 describe('Test comments notifications', function () {
   let servers: PeerTubeServer[] = []
   let userToken: string