diff --git a/services/web/docker-compose.ci.yml b/services/web/docker-compose.ci.yml index a5e5e7dd9f..6fd045fcc4 100644 --- a/services/web/docker-compose.ci.yml +++ b/services/web/docker-compose.ci.yml @@ -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: . diff --git a/services/web/package.json b/services/web/package.json index 50ddbf062c..8299750f70 100644 --- a/services/web/package.json +++ b/services/web/package.json @@ -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",