1
0
Fork 0
peertube/scripts/e2e.sh

17 lines
368 B
Bash
Raw Normal View History

2018-05-16 13:59:21 -04:00
#!/bin/sh
set -eu
npm run clean:server:test
2018-05-17 04:55:01 -04:00
(
cd client
npm run webdriver-manager update
2018-05-22 10:02:29 -04:00
npm run webpack -- --config webpack/webpack.video-embed.js --mode development
2018-05-17 04:55:01 -04:00
)
2018-05-16 13:59:21 -04:00
concurrently -k -s first \
2018-05-19 07:58:29 -04:00
"cd client && npm run ng -- e2e --port 3333" \
2018-05-17 04:55:01 -04:00
"NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warning\" } }' npm start"
2018-05-16 13:59:21 -04:00