#!/usr/bin/env bash

set -o errexit

if [ "$GETH" == true ]; then
  yarn build-cli && mocha --timeout 50000 --grep @ganache --invert --colors $@
elif [ "$COVERAGE" == true ]; then
  NO_BUILD=true mocha --no-warnings --timeout 7000 --grep @geth --invert --colors $@
else
  yarn run build-cli && mocha --no-warnings --timeout 7000 --grep @geth --invert --colors $@
fi

#!/usr/bin/env bash

set -o errexit

if [ "$GETH" == true ]; then
  yarn build-cli && mocha --timeout 50000 --grep @ganache --invert --colors $@
elif [ "$COVERAGE" == true ]; then
  NO_BUILD=true mocha --no-warnings --timeout 7000 --grep @geth --invert --colors $@
else
  yarn build-cli && mocha --no-warnings --timeout 7000 --grep @geth --invert --colors $@
fi

Remove extra `run` arg to `yarn`
Remove extra `run` arg to `yarn`

Co-Authored-By: gnidan <b43a46ebdc588f70c12f1049b4234983a222b7d3@users.noreply.github.com>