1.0.1 • Published 6 years ago
jest-watch-on-pass v1.0.1
jest-watch-on-pass
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 }]
]
}
}