فهرست منبع

HUE-9090 [ci] Adding --runInBand parameter to js tests

Romain 6 سال پیش
والد
کامیت
38f6524104
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      .circleci/config.yml

+ 3 - 0
.circleci/config.yml

@@ -111,6 +111,9 @@ jobs:
           name: run js tests
           command: |
             cd /usr/share/hue
+
+            # https://jestjs.io/docs/en/troubleshooting.html#tests-are-extremely-slow-on-docker-andor-continuous-integration-ci-server
+            sed -i 's/"test": "jest"/"test": "jest --runInBand"/g' package.json
             npm run test
 
       - store_artifacts: