PeerTube/scripts/e2e/browserstack.sh

10 lines
391 B
Bash
Raw Normal View History

2018-05-16 17:59:21 +00:00
#!/bin/sh
set -eu
npm run clean:server:test
2018-06-07 14:50:33 +00:00
npm run concurrently -- -k -s first \
2021-09-02 06:57:59 +00:00
"cd client/e2e && ../node_modules/.bin/wdio run ./wdio.browserstack.conf.ts" \
2021-09-03 08:27:04 +00:00
"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"