aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/run-web3.sh
blob: 174370683a2417d66c790b157d6780a4a10422d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash

set -e
set -u
set -o pipefail

export PATH="$PATH:./node_modules/.bin"

concurrently --kill-others \
  --names 'dapp,e2e' \
  --prefix '[{time}][{name}]' \
  'static-server test/web3 --port 8080' \
  'sleep 5 && mocha test/e2e/web3.spec'