]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - scripts/e2e/local.sh
Fix local e2e tests
[github/Chocobozzz/PeerTube.git] / scripts / e2e / local.sh
CommitLineData
74af5a83
C
1#!/bin/sh
2
3set -eu
4
74af5a83
C
5npm run clean:server:test
6
5f92c4dc
C
7(
8 cd client
6b88559b 9 npm run webdriver-manager -- update
d1bd87e0 10 npm run webpack -- --config webpack/webpack.video-embed.js --mode development
5f92c4dc
C
11)
12
6cca7360 13npm run concurrently -- -k -s first \
9e3e2481 14 "cd client && npm run ng -- e2e --port 3333 -c local" \
ee68bbc4 15 "NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warning\" }, \"signup\": { \"enabled\": false } }' node dist/server"