Project

General

Profile

« Previous | Next » 

Revision bb241c1b

Added by Ohad Levy about 7 years ago

fixes #19303 - adds jest watch mode

This patch allows javascript tests to continusly run when
developing webpack features, to run execute
```npm run test:watch```

View differences:

package.json
"scripts": {
"lint": "./node_modules/.bin/eslint -c .eslintrc webpack/ || exit 0",
"test": "node --harmony_proxies node_modules/.bin/jest",
"test:watch": "node --harmony_proxies node_modules/.bin/jest --watchAll",
"storybook": "start-storybook --dont-track -p 6006",
"build-storybook": "build-storybook"
},

Also available in: Unified diff