aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/e2e/index.sh
blob: 08f09c9ed1ea4da94fa32dbca05de0a2879e86d5 (plain) (tree)
1
2
3
4
5
6
7
8
9


         
                         
             
                                                                                 
 
                                     
                                                  
                                                                                                                                                  
#!/bin/sh

set -eu

npm run clean:server:test

(
    cd client
    npm run webpack -- --config webpack/webpack.video-embed.js --mode development
)

npm run concurrently -- -k -s first \
    "cd client && npm run ng -- e2e --port 3333" \
    "NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warning\" }, \"signup\": { \"enabled\": false } }' node dist/server"