aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server/servers.ts
diff options
context:
space:
mode:
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 8ccf790fc..b58639ba6 100644
--- a/shared/extra-utils/server/servers.ts
+++ b/shared/extra-utils/server/servers.ts
@@ -16,6 +16,7 @@ import { AbusesCommand } from '../moderation'
16import { OverviewsCommand } from '../overviews' 16import { OverviewsCommand } from '../overviews'
17import { makeGetRequest } from '../requests/requests' 17import { makeGetRequest } from '../requests/requests'
18import { SearchCommand } from '../search' 18import { SearchCommand } from '../search'
19import { ContactFormCommand } from './contact-form-command'
19 20
20interface ServerInfo { 21interface ServerInfo {
21 app: ChildProcess 22 app: ChildProcess
@@ -77,6 +78,7 @@ interface ServerInfo {
77 abusesCommand?: AbusesCommand 78 abusesCommand?: AbusesCommand
78 overviewsCommand?: OverviewsCommand 79 overviewsCommand?: OverviewsCommand
79 searchCommand?: SearchCommand 80 searchCommand?: SearchCommand
81 contactFormCommand?: ContactFormCommand
80} 82}
81 83
82function parallelTests () { 84function parallelTests () {
@@ -290,6 +292,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = []
290 server.abusesCommand = new AbusesCommand(server) 292 server.abusesCommand = new AbusesCommand(server)
291 server.overviewsCommand = new OverviewsCommand(server) 293 server.overviewsCommand = new OverviewsCommand(server)
292 server.searchCommand = new SearchCommand(server) 294 server.searchCommand = new SearchCommand(server)
295 server.contactFormCommand = new ContactFormCommand(server)
293 296
294 res(server) 297 res(server)
295 }) 298 })