diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-07 09:16:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:17 +0200 |
commit | c3d29f694bf8c910f917be655626d0f80871124f (patch) | |
tree | c90dfdc1245c8a9aca49e9ea9c71ed8e6b9dd35f /shared/extra-utils/server/servers.ts | |
parent | 883a9019085ff9013079d6b1539b86f2f519175a (diff) | |
download | PeerTube-c3d29f694bf8c910f917be655626d0f80871124f.tar.gz PeerTube-c3d29f694bf8c910f917be655626d0f80871124f.tar.zst PeerTube-c3d29f694bf8c910f917be655626d0f80871124f.zip |
Introduce follows command
Diffstat (limited to 'shared/extra-utils/server/servers.ts')
-rw-r--r-- | shared/extra-utils/server/servers.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts index 30e712ab8..7ac80cea0 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts | |||
@@ -18,6 +18,7 @@ import { makeGetRequest } from '../requests/requests' | |||
18 | import { SearchCommand } from '../search' | 18 | import { SearchCommand } from '../search' |
19 | import { ContactFormCommand } from './contact-form-command' | 19 | import { ContactFormCommand } from './contact-form-command' |
20 | import { DebugCommand } from './debug-command' | 20 | import { DebugCommand } from './debug-command' |
21 | import { FollowsCommand } from './follows-command' | ||
21 | 22 | ||
22 | interface ServerInfo { | 23 | interface ServerInfo { |
23 | app: ChildProcess | 24 | app: ChildProcess |
@@ -81,6 +82,7 @@ interface ServerInfo { | |||
81 | searchCommand?: SearchCommand | 82 | searchCommand?: SearchCommand |
82 | contactFormCommand?: ContactFormCommand | 83 | contactFormCommand?: ContactFormCommand |
83 | debugCommand?: DebugCommand | 84 | debugCommand?: DebugCommand |
85 | followsCommand?: FollowsCommand | ||
84 | } | 86 | } |
85 | 87 | ||
86 | function parallelTests () { | 88 | function parallelTests () { |
@@ -296,6 +298,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = [] | |||
296 | server.searchCommand = new SearchCommand(server) | 298 | server.searchCommand = new SearchCommand(server) |
297 | server.contactFormCommand = new ContactFormCommand(server) | 299 | server.contactFormCommand = new ContactFormCommand(server) |
298 | server.debugCommand = new DebugCommand(server) | 300 | server.debugCommand = new DebugCommand(server) |
301 | server.followsCommand = new FollowsCommand(server) | ||
299 | 302 | ||
300 | res(server) | 303 | res(server) |
301 | }) | 304 | }) |