Fix unit test in gitlab-ci

parent 311cd05c
Pipeline #1696 passed with stages
in 1 minute and 51 seconds
...@@ -11,10 +11,10 @@ unit tests: ...@@ -11,10 +11,10 @@ unit tests:
- rsync -ruvC ./ $BASE_PATH - rsync -ruvC ./ $BASE_PATH
- cd $BASE_PATH - cd $BASE_PATH
- rm -rf node_modules/ - rm -rf node_modules/
- sudo npm install -g nodeunit
- npm install - npm install
- npm install nodeunit
- cp config.json.default config.json - cp config.json.default config.json
- npm test - ./node_modules/nodeunit/bin/nodeunit tests/run.js
deploy preprod: deploy preprod:
variables: variables:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment