File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ const testOptions = {
41
41
skipApiVersionCheck : {
42
42
description : 'Deprecated: this noop flag is kept for backward compatibility' ,
43
43
type : 'boolean' ,
44
- default : false ,
45
44
} ,
46
45
} ;
47
46
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ function getJestArgs(argv) {
61
61
}
62
62
63
63
async function testRunner ( argv ) {
64
- if ( ! argv . skipApiVersionCheck ) {
64
+ if ( argv . skipApiVersionCheck !== undefined ) {
65
65
warn (
66
66
'The --skipApiVersionCheck flag is deprecated and will be removed in future versions.' ,
67
67
) ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Options:
17
17
(https://jestjs.io/docs/en/troubleshooting)
18
18
[boolean] [default: false]
19
19
--skipApiVersionCheck Deprecated: this noop flag is kept for backward
20
- compatibility [boolean] [default: false ]
20
+ compatibility [boolean ]
21
21
--help Show help [boolean]
22
22
23
23
Examples:
You can’t perform that action at this time.
0 commit comments