diff --git a/package.json b/package.json index 87a394c18..40188606a 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ }, "scripts": { "start": "npm run start-client", - "test": "npm run test-client", + "test": "npm run test-client && npm run test-cloud", "start-client": "packages/client-app/node_modules/.bin/electron packages/client-app --enable-logging --dev", "test-client": "packages/client-app/node_modules/.bin/electron packages/client-app --enable-logging --test", "test-client-window": "packages/client-app/node_modules/.bin/electron packages/client-app --enable-logging --test=window", @@ -48,7 +48,7 @@ "build-client": "grunt ci --gruntfile=packages/client-app/build/Gruntfile.js --base=./", "start-cloud": "pm2 stop all; pm2 delete all; pm2 start packages/cloud-core/pm2-dev.yml --no-daemon", "start-cloud-debug": "pm2 stop all; pm2 delete all; pm2 start packages/cloud-core/pm2-debug-cloud-api.yml --no-daemon", - "test-cloud": "", + "test-cloud": "cd packages/cloud-api && npm test && cd ../cloud-core && npm test && cd ../cloud-workers && npm test && cd ../isomorphic-core && npm test", "stop": "npm run stop-cloud", "stop-cloud": "pm2 stop all; pm2 delete all;", "build-cloud": "docker build .",