aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server/servers.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-07 09:16:40 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:17 +0200
commitc3d29f694bf8c910f917be655626d0f80871124f (patch)
treec90dfdc1245c8a9aca49e9ea9c71ed8e6b9dd35f /shared/extra-utils/server/servers.ts
parent883a9019085ff9013079d6b1539b86f2f519175a (diff)
downloadPeerTube-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.ts3
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'
18import { SearchCommand } from '../search' 18import { SearchCommand } from '../search'
19import { ContactFormCommand } from './contact-form-command' 19import { ContactFormCommand } from './contact-form-command'
20import { DebugCommand } from './debug-command' 20import { DebugCommand } from './debug-command'
21import { FollowsCommand } from './follows-command'
21 22
22interface ServerInfo { 23interface 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
86function parallelTests () { 88function 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 })