1.1.4 • Published 5 years ago

jest-watch-continue v1.1.4

Weekly downloads
19
License
MIT
Repository
github
Last release
5 years ago

jest-watch-continue

NPM version NPM downloads Mentioned in Awesome Jest

Build status Codecov

Greenkeeper badge semantic-release

Run tests in continue mode.

In continue mode, all passed test suites will be skipped and only run the remaining test suites. It helps you focus on what's getting everything to pass once.

This is especially useful if you are dealing with some fragile tests or systems.

While you may introduce regression along the way, let's deal with them later.

It works great with bail.

Requires jest@23+.

Usage

To use jest-watch-continue, add it to the watchPlugins section of the Jest configuration:

{
  "jest": {
    "watchPlugins": [
      "jest-watch-continue", // or
      ["jest-watch-continue", {
        "key": "n",
        "prompt": "start continue mode"
      }]
    ]
  }
}

In watch mode, press n to starts or ends continue mode.

Watch Usage
 › Press a to run all tests.
 › Press f to run only failed tests.
 › Press q to quit watch mode.
 › Press n to start continue mode.
 › Press p to filter by a filename regex pattern.
 › Press t to filter by a test name regex pattern.
 › Press Enter to trigger a test run.
1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago