Skip to content

Commit

Permalink
chore: remove needless assign (#11433)
Browse files Browse the repository at this point in the history
  • Loading branch information
Connormiha authored May 21, 2021
1 parent 696c455 commit 78eb25d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/jest-core/src/lib/updateGlobalConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export default (
replacePathSepForRegex(options.testPathPattern) || '';
}

newConfig.onlyChanged = false;
newConfig.onlyChanged =
!newConfig.watchAll &&
!newConfig.testNamePattern &&
Expand Down

0 comments on commit 78eb25d

Please sign in to comment.