A jest watch mode plugin to change CLI options while Jest is running
MIT License
A Jest watch mode plugin to change CLI options while Jest is running.
Run
npm install --save-dev jest-watch-options
and add the following option to your Jest config:
watchPlugins: ['jest-watch-options'],
While in Jest watch mode, press -
to open up the options prompt (the first -
will already be there),
then keep typing the options you want to apply and hit enter to confirm.
Note that Jest only allows select options to be changed at runtime (documentation & updateConfigAndRun source code).
--no-bail --collectCoverage --collectCoverageFrom **/*.js