Skip to content

rickhanlonii/jest-watch-master

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

jest-watch-master

Jest watch plugin for checking changes since master

Requires Jest >= 23.6.0

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:

{
  "jest": {
    "watchPlugins": ["jest-watch-master"]
  }
}

Or in jest.config.js

module.exports = {
  // ...
  watchPlugins: ['jest-watch-master'],
};

Options

branch: string

To specify a branch other than master, use the branch setting:

{
  "jest": {
    "watchPlugins": [["jest-watch-master", { "branch": "feature" }]]
  }
}

About

Jest watch plugin for checking changes since master

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published