This package has been deprecated

Author message:

rename to jest-watch-exec

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

1.0.1 • Public • Published

jest-watch-on-pass

NPM version NPM downloads Build status Codecov

Greenkeeper badge semantic-release

Execute command after test run passes.

Requires jest@23+.

Usage

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

{
  "jest": {
    "watchPlugins": [
      ["jest-watch-on-pass", { "exec": "npm run build" }], // or
      ["jest-watch-on-pass", { "exec": "npm run build", "runWhileFiltered": true }]
    ]
  }
}

/jest-watch-on-pass/

    Package Sidebar

    Install

    npm i jest-watch-on-pass

    Weekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    7.83 kB

    Total Files

    9

    Last publish

    Collaborators

    • unional