Make it more obvious that jest has a watch mode

Summary: See https://fb.workplace.com/groups/flippersupport/permalink/884233452057314/

Reviewed By: jknoxville

Differential Revision: D21762521

fbshipit-source-id: d62507c419ad5afa5bf519612657a4b2f9b7e8a7
This commit is contained in:
Michel Weststrate
2020-05-28 09:59:32 -07:00
committed by Facebook GitHub Bot
parent 9ab4f37f59
commit 67b53aea98

View File

@@ -234,6 +234,7 @@
"fix": "eslint . --fix --ext .js,.ts,.tsx",
"pretest": "yarn build:pkg",
"test": "jest",
"watch": "jest --watch",
"test:debug": "yarn build:pkg && node --inspect node_modules/.bin/jest --runInBand",
"test-electron": "yarn build:pkg && jest --testMatch=\"**/**.electron\\.(js|jsx|ts|tsx)\" --testEnvironment=@jest-runner/electron/environment --runner=@jest-runner/electron",
"test-with-device": "yarn build:pkg && USE_ELECTRON_STUBS=1 jest --testMatch=\"**/**.device\\.(js|jsx|ts|tsx)\" --detectOpenHandles",