299 B
299 B
To run manually on CI: pm2-run --ecosystem ../ecosystem.json --env staging --cmd "npm test"
To run specific test on CI: cd ~/app pm2-run --ecosystem ../ecosystem.json --env staging --cmd "./node_modules/.bin/mocha test/new-user-test.js"
To run manually on local machine: npm test