Use --runInBand flag for Jest to improve performance in Circle CI

http://stackoverflow.com/questions/36747251/error-running-jest-on-circleci-npm-test-died-unexpectedly
This commit is contained in:
Kimmo Puputti 2017-01-13 09:26:45 +02:00
parent 34c6db37e0
commit 7a6cd57aa9
2 changed files with 2 additions and 1 deletions

View file

@ -24,4 +24,4 @@ test:
pre:
- yarn run build
override:
- yarn test
- yarn run test-ci

View file

@ -20,6 +20,7 @@
"dev": "sharetribe-scripts start",
"build": "sharetribe-scripts build",
"test": "sharetribe-scripts test --env=jsdom",
"test-ci": "sharetribe-scripts test --env=jsdom --runInBand",
"eject": "sharetribe-scripts eject",
"start": "node server/index.js",
"dev-server": "npm run build&&nodemon --watch server server/index.js"