X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fextra-utils%2Fserver%2Fservers.ts;h=e079260650fc85f5fadc9e61c8dcae1be30ccc0a;hb=e8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6;hp=1b07754214c068a3d47a0288c33e5810b3cb5a94;hpb=329619b3453479f76c049816b7403b86e9d45cb5;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts index 1b0775421..e07926065 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts @@ -8,6 +8,7 @@ import { randomInt } from '../../core-utils/miscs/miscs' import { VideoChannel } from '../../models/videos' import { BulkCommand } from '../bulk' import { CLICommand } from '../cli' +import { CustomPagesCommand } from '../custom-pages' import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs' import { makeGetRequest } from '../requests/requests' @@ -65,6 +66,7 @@ interface ServerInfo { bulkCommand?: BulkCommand cliCommand?: CLICommand + customPageCommand?: CustomPagesCommand } function parallelTests () { @@ -272,6 +274,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = [] server.bulkCommand = new BulkCommand(server) server.cliCommand = new CLICommand(server) + server.customPageCommand = new CustomPagesCommand(server) res(server) })