Socket
Book a DemoInstallSign in
Socket

jest-watch-options

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-watch-options

A Jest watch mode plugin to change CLI options while Jest is running

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

jest-watch-options

A Jest watch mode plugin to change CLI options while Jest is running.

build status npm package license

Installation

Run

npm install --save-dev jest-watch-options

and add the following option to your Jest config:

watchPlugins: ['jest-watch-options'],

Usage

While in Jest watch mode, press - to open up the options prompt (the first - will already be there), then keep typing the options you want to apply and hit enter to confirm.

Note that Jest only allows select options to be changed at runtime (documentation & updateConfigAndRun source code).

Example

--no-bail --collectCoverage --collectCoverageFrom **/*.js

Keywords

jest

FAQs

Package last updated on 08 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts