Skip to content
Snippets Groups Projects
Commit b79da620 authored by Falk's avatar Falk :ping_pong:
Browse files

Configure mongodb instance for server test

parent e7d8c180
No related branches found
No related tags found
No related merge requests found
...@@ -18,12 +18,15 @@ cache: ...@@ -18,12 +18,15 @@ cache:
test_client: test_client:
script: script:
- cd app/client - cd app/client
- node ./scripts/build.js - npm install
- npm run test - npm run test
test_server: test_server:
script: script:
- cd app/server - cd app/server
- npm install - npm install
- npm run test - PORT=3002 \
MONGODB_URL=$MONGODB_URL \
JWT_SECRET=$JWT_SECRET \
npm run test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment