aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/e2e.sh
blob: bdd0514866c7588bc85fbcf56a6eab6dde6d9b69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -eu

npm run clean:server:test

(
    cd client
    npm run webdriver-manager update
)

concurrently -k -s first \
    "cd client && npm run ng -- e2e" \
    "NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warning\" } }' npm start"