Merge pull request #1554 from sharelatex/ew-build-tests

Bump timeout for unit tests

GitOrigin-RevId: 2354d4620d1c91e99c80612659a43509b54cdbc9
This commit is contained in:
Henry Oswald 2019-02-26 10:19:31 +00:00 committed by James Allen
parent d12dd862c8
commit e4153ae3e4
2 changed files with 2 additions and 1 deletions

View file

@ -9,7 +9,7 @@ services:
build: .
image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
user: node
command: npm run test:unit
command: npm run test:unit:ci
test_acceptance:
build: .

View file

@ -12,6 +12,7 @@
"scripts": {
"test:acceptance:run_dir": "mocha --recursive --reporter spec --timeout 15000 --exit --grep=$MOCHA_GREP $@",
"test:unit": "npm -q run compile:app && bin/unit_test --grep=$MOCHA_GREP $@",
"test:unit:ci": "bin/unit_test --timeout 10000",
"test:unit:app": "npm -q run compile:app && bin/unit_test_app $@",
"test:frontend": "karma start",
"compile": "make compile",