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 be4bec3 commit a8be52bCopy full SHA for a8be52b
1 file changed
packages/jest-cli/src/cli/args.js
@@ -21,14 +21,6 @@ const check = (argv: Argv) => {
21
);
22
}
23
24
- if (argv.onlyChanged && argv._.length > 0) {
25
- throw new Error(
26
- 'Both --onlyChanged and a path pattern were specified, but these ' +
27
- 'two options do not make sense together. Which is it? Do you want ' +
28
- 'to run tests for changed files? Or for a specific set of files?',
29
- );
30
- }
31
-
32
if (argv.onlyChanged && argv.watchAll) {
33
throw new Error(
34
'Both --onlyChanged and --watchAll were specified, but these two ' +
0 commit comments