diff options
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 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' | |||
16 | import { OverviewsCommand } from '../overviews' | 16 | import { OverviewsCommand } from '../overviews' |
17 | import { makeGetRequest } from '../requests/requests' | 17 | import { makeGetRequest } from '../requests/requests' |
18 | import { SearchCommand } from '../search' | 18 | import { SearchCommand } from '../search' |
19 | import { ContactFormCommand } from './contact-form-command' | ||
19 | 20 | ||
20 | interface ServerInfo { | 21 | interface 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 | ||
82 | function parallelTests () { | 84 | function 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 | }) |