Jest watch plugin for checking changes since master
npm install jest-watch-masterInstall jest and jest-watch-master
``bash
yarn add --dev jest jest-watch-master
npm install --save-dev jest jest-watch-master
`
In your package.json:
`json`
{
"jest": {
"watchPlugins": ["jest-watch-master"]
}
}
Or in jest.config.js
`js`
module.exports = {
// ...
watchPlugins: ['jest-watch-master'],
};
#### branch: string
To specify a branch other than master, use the branch setting:
`json``
{
"jest": {
"watchPlugins": [["jest-watch-master", { "branch": "feature" }]]
}
}