51
GitHub - jest-community/jest-watch-typeahead: Jest watch plugin for filtering te...
source link: https://github.com/jest-community/jest-watch-typeahead
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
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
{ "jest": { "watchPlugins": [ "jest-watch-typeahead/filename", "jest-watch-typeahead/testname" ] } }
Or in jest.config.js
module.exports = { watchPlugins: [ 'jest-watch-typeahead/filename', 'jest-watch-typeahead/testname', ], };
Run Jest in watch mode
yarn jest --watch
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK