Install
Install jest
and jest-watch-master
yarn add --dev jest jest-watch-master # or with NPM npm install --save-dev jest jest-watch-master
Add it to your Jest config
In your package.json
:
Or in jest.config.js
moduleexports = // ... watchPlugins: 'jest-watch-master';
Options
branch: string
To specify a branch other than master, use the branch
setting: