【jest】If you want to watch only specific files(特定のファイルだけwatchしたい場合)

【jest】If you want to watch only specific files(特定のファイルだけwatchしたい場合)

you can put it to npm script where write "test"

"test": "jest --watch /Users/youre/path/want/test/file/__test__/reducer.spec.ts”,

after then, just only run.
yarn test