Created by: ltk
trap
provides more robust error handling than set -e
. (http://mywiki.wooledge.org/BashFAQ/105)
This may actually fix #163 (closed). I was seeing a trapped error when I tried to replicate the state described in that issue, but it'd be helpful to have someone else confirm this.
I also point the npm test command to e2e.sh for convenience. Could go either way on that one. It's unimportant.
Error messages look like: