A demo of using a bash script to run tape tests in sequence.
node one-test.js
node two-test.js
tape globbing, second test fails:npm run tape '*-test.js'
# or
npm run bad-test
bash run-tests.sh
# or
npm test
global function repeatedly, and does not stop.tape allows for running multiple tests via globbing, e.g.: tape '*-test.js'. However, to accomplish this tape will require each script into the same environment, meaning they will share global.