Update logger, metrics, and redis client
Also fix acceptance tests, broken by a change in behaviour of the redis client. It now returns a promise from most operations. This interferes with how mocha handles callbacks in `before` blocks.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# This file was auto-generated, do not edit it directly.
|
||||
# Instead run bin/update_build_scripts from
|
||||
# https://github.com/sharelatex/sharelatex-dev-environment
|
||||
# Version: 1.1.16
|
||||
# Version: 1.1.21
|
||||
|
||||
version: "3.1"
|
||||
version: "2"
|
||||
|
||||
services:
|
||||
test_unit:
|
||||
@@ -13,6 +13,7 @@ services:
|
||||
working_dir: /app
|
||||
environment:
|
||||
MOCHA_GREP: ${MOCHA_GREP}
|
||||
NODE_ENV: test
|
||||
command: npm run test:unit
|
||||
user: node
|
||||
|
||||
@@ -27,6 +28,8 @@ services:
|
||||
MONGO_HOST: mongo
|
||||
POSTGRES_HOST: postgres
|
||||
MOCHA_GREP: ${MOCHA_GREP}
|
||||
LOG_LEVEL: ERROR
|
||||
NODE_ENV: test
|
||||
user: node
|
||||
depends_on:
|
||||
- mongo
|
||||
@@ -49,3 +52,4 @@ services:
|
||||
mongo:
|
||||
image: mongo:3.4
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user