A very little jest plugins that allows to play with test && commit || revert
(TCR) introduced by Kent Beck.
Keep running your test in watch mode for productivity and press X
at any time you want to commit
/ revert
.
Installation
$ yarn add jest-plugin-tcr
// jest.config.jsmoduleexports = watchPlugins: "jest-plugin-tcr";
And let's play with jest --watch
💪!