until-death

1.0.0 • Public • Published

until-death

You know when you have a test in CI that fails all the time and never fails locally?

Well, it usually does fail locally but never on the first run, or the second, or the third.

until-death to the rescue. Run a command repeatedly until it dies. Enabled debug logging. Go and make a cup of tea. Have a nap. Eventually it'll fail and you'll have everything you need to debug the failure.

Install

$ npm i -g until-death

Usage

$ until-death ... your command

E.g.:

$ DEBUG=* until-death npm run test -- --grep 'flaky test'

Readme

Keywords

none

Package Sidebar

Install

npm i until-death

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.15 kB

Total Files

3

Last publish

Collaborators

  • achingbrain