Run
npm test
until it breaks.
Sometimes when testing you run into race conditions so you need a test runner to keep tests running until they break. Or you want to do stress testing for other reasons.
$ npm i test-for -g
Run npm test
forever or until it breaks:
$ test-for
Run npm test
until it breaks or reaches 10000
runs:
$ test-for -n 10000
GPL-3.0 © 2018-present Lars-Magnus Skog.