Merge pull request #4322 from overleaf/jpa-custom-base-config-for-tests

[misc] set up custom base config for acceptance tests

GitOrigin-RevId: bd49c705360488fd75c6ad311afd13f22f81de61
This commit is contained in:
Jakob Ackermann
2021-07-20 11:33:41 +00:00
committed by Copybot
parent 97da586877
commit 411a12cb2d
11 changed files with 182 additions and 15 deletions
+3
View File
@@ -13,6 +13,8 @@ services:
- .:/app
working_dir: /app
environment:
BASE_CONFIG:
SHARELATEX_CONFIG:
MOCHA_GREP: ${MOCHA_GREP}
NODE_OPTIONS: "--unhandled-rejections=strict"
command: npm run --silent test:unit:app
@@ -39,6 +41,7 @@ services:
MONGO_SERVER_SELECTION_TIMEOUT: 600000
MONGO_SOCKET_TIMEOUT: 300000
# SHARELATEX_ALLOW_ANONYMOUS_READ_AND_WRITE_SHARING: 'true'
BASE_CONFIG:
SHARELATEX_CONFIG:
COOKIE_DOMAIN: .overleaf.test
PUBLIC_URL: 'http://www.overleaf.test:3000'