jest-watch-continue
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

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.

Package Sidebar

Install

npm i jest-watch-continue

Weekly Downloads

1

Version

1.1.4

License

MIT

Unpacked Size

12.7 kB

Total Files

9

Last publish

Collaborators

  • unional