jest-watch-typeahead
Usage
Install
Install jest
(it needs Jest 23+) and jest-watch-typeahead
yarn add --dev jest jest-watch-typeahead # or with NPM npm install --save-dev jest jest-watch-typeahead
Add it to your Jest config
In your package.json
Or in jest.config.js
moduleexports = watchPlugins: 'jest-watch-typeahead/filename' 'jest-watch-typeahead/testname' ;
Configuring your key and prompt name
moduleexports = watchPlugins: 'jest-watch-typeahead/filename' key: 'k' prompt: 'do something with my custom prompt' ;
Run Jest in watch mode
yarn jest --watch