1
0
Fork 0
peertube/scripts/e2e.sh
2018-05-22 16:02:29 +02:00

16 lines
368 B
Bash
Executable file

#!/bin/sh
set -eu
npm run clean:server:test
(
cd client
npm run webdriver-manager update
npm run webpack -- --config webpack/webpack.video-embed.js --mode development
)
concurrently -k -s first \
"cd client && npm run ng -- e2e --port 3333" \
"NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warning\" } }' npm start"