browserstack.sh 391 B

123456789
  1. #!/bin/sh
  2. set -eu
  3. npm run clean:server:test
  4. npm run concurrently -- -k -s first \
  5. "cd client/e2e && ../node_modules/.bin/wdio run ./wdio.browserstack.conf.ts" \
  6. "NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"rates_limit\": { \"api\": { \"max\": 5000 }, \"login\": { \"max\": 5000 } }, \"log\": { \"level\": \"warn\" }, \"signup\": { \"enabled\": false } }' node dist/server"