PeerTube/scripts/e2e.sh

16 lines
274 B
Bash
Raw Normal View History

2018-05-16 12:59:21 -05:00
#!/bin/sh
set -eu
npm run clean:server:test
2018-05-17 03:55:01 -05:00
(
cd client
npm run webdriver-manager update
)
2018-05-16 12:59:21 -05:00
concurrently -k -s first \
"cd client && npm run ng -- e2e" \
2018-05-17 03:55:01 -05:00
"NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warning\" } }' npm start"
2018-05-16 12:59:21 -05:00