tokenbridge/ui-e2e/run-tests.sh

13 lines
197 B
Bash
Raw Normal View History

#!/usr/bin/env bash
cd $(dirname $0)
2019-06-03 16:47:42 +03:00
../e2e-commons/up.sh oracle ui deploy
2019-06-03 11:11:00 +03:00
node ./scripts/blocks.js &
yarn mocha -b ./test.js
rc=$?
if [ $CI ]; then exit $rc; fi
2019-06-03 11:11:00 +03:00
../e2e-commons/down.sh
exit $rc