2019-05-09 13:03:18 +03:00
|
|
|
#!/usr/bin/env bash
|
2019-05-21 10:41:52 +03:00
|
|
|
cd $(dirname $0)
|
2019-05-21 11:26:17 +03:00
|
|
|
|
2019-06-03 11:11:00 +03:00
|
|
|
../e2e-commons/up.sh oracle ui ui-deploy
|
2019-05-21 10:41:52 +03:00
|
|
|
|
2019-06-03 11:11:00 +03:00
|
|
|
node ./scripts/blocks.js &
|
2019-05-21 10:41:52 +03:00
|
|
|
yarn mocha -b ./test.js
|
2019-05-09 13:03:18 +03:00
|
|
|
rc=$?
|
2019-06-04 10:09:18 +03:00
|
|
|
if [ $CI ]; then exit $rc; fi
|
2019-05-20 12:24:03 +03:00
|
|
|
|
2019-06-03 11:11:00 +03:00
|
|
|
../e2e-commons/down.sh
|
2019-05-09 13:03:18 +03:00
|
|
|
exit $rc
|