X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fnotifications%2Fcomments-notifications.ts;h=4214687f88143dd1426a6a167b21261bc548d7f2;hb=aac7f4304dc7fa48869cb3f09c30383222add436;hp=7cbb2139795be2b7072dff74cb4db60a411c4437;hpb=29837f8885eb37fa300e4b80c90a6d03ab337084;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/notifications/comments-notifications.ts b/server/tests/api/notifications/comments-notifications.ts index 7cbb21397..4214687f8 100644 --- a/server/tests/api/notifications/comments-notifications.ts +++ b/server/tests/api/notifications/comments-notifications.ts @@ -1,20 +1,15 @@ /* 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, checkNewCommentOnMyVideo, - cleanupTests, MockSmtpServer, - PeerTubeServer, - prepareNotificationsTest, - waitJobs -} from '@shared/extra-utils' + prepareNotificationsTest +} from '@server/tests/shared' import { UserNotification } from '@shared/models' - -const expect = chai.expect +import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands' describe('Test comments notifications', function () { let servers: PeerTubeServer[] = []