#!/usr/bin/env sh
case ${NODE_ENV} in
"dev")
URL="http://dev.taxijakt.se"
;;
"prod")
URL="http://taxijakt.se"
;;
"stage")
URL="http://staging.taxijakt.se"
;;
*)
echo "Invalid environment specified"
exit -1
;;
esac;
echo $NODE_ENV
echo "Running e2e tests against: ${URL} \n"
API_URL=${URL} yarn start //for process.env.API_URL inside *.js