Learning jestjs v26.x.x testing framework by examples
--onlyChanged
Alias: -o. Attempts to identify which tests to run based on which files have changed in the current repository. Only works if you're running tests in a git/hg repository at the moment and requires a static dependency graph (ie. no dynamic requires).
npm t -- -o