diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6daec247a1ae2be5bd0e99f3dbf6bde1d81ce83c..1b84ca66864246e56e6d1f1399a9cf893427069b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,7 +47,7 @@ test:
     GIT_STRATEGY: none
   script:
     - cd ${HOME}
-    - npm run test
+    - NODE_ENV=test npm run test
 
 # -----------------------------------------------
 # ui --------------------------------------------