We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1535af7 commit 1ad7f7cCopy full SHA for 1ad7f7c
packages/jest-config/src/normalize.ts
@@ -986,12 +986,10 @@ export default function normalize(
986
987
if (argv.all) {
988
newOptions.onlyChanged = false;
989
- newOptions.onlyFailures = false;
990
} else if (newOptions.testPathPattern) {
991
// When passing a test path pattern we don't want to only monitor changed
992
- // or failed files unless `--watch` is also passed.
+ // files unless `--watch` is also passed.
993
newOptions.onlyChanged = newOptions.watch;
994
- newOptions.onlyFailures = newOptions.watch;
995
}
996
997
if (!newOptions.onlyChanged) {
0 commit comments