1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Use an object to represent a server

This commit is contained in:
Chocobozzz 2021-07-16 09:47:51 +02:00
parent 89d241a79c
commit 254d3579f5
No known key found for this signature in database
GPG key ID: 583A612D890159BE
154 changed files with 1068 additions and 1056 deletions

View file

@ -9,7 +9,7 @@ import {
getAllNotificationsSettings,
MockSmtpServer,
prepareNotificationsTest,
ServerInfo,
PeerTubeServer,
waitJobs
} from '@shared/extra-utils'
import { UserNotification, UserNotificationSettingValue } from '@shared/models'
@ -17,7 +17,7 @@ import { UserNotification, UserNotificationSettingValue } from '@shared/models'
const expect = chai.expect
describe('Test notifications API', function () {
let server: ServerInfo
let server: PeerTubeServer
let userNotifications: UserNotification[] = []
let userToken: string
let emails: object[] = []