block by plmrry 5179ef132c3f39368ff092e5b1ad76ec

Sequential Tests with Tape and Bash

Sequential Tests with Tape and Bash

A demo of using a bash script to run tape tests in sequence.

Scenario

node one-test.js
node two-test.js
npm run tape '*-test.js'
# or
npm run bad-test
bash run-tests.sh
# or
npm test

The Problem

The Solution

one-test.js

package.json

run-tests.sh

two-test.js