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 = {
4141 skipApiVersionCheck : {
4242 description : 'Deprecated: this noop flag is kept for backward compatibility' ,
4343 type : 'boolean' ,
44- default : false ,
4544 } ,
4645} ;
4746
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ function getJestArgs(argv) {
6161}
6262
6363async function testRunner ( argv ) {
64- if ( ! argv . skipApiVersionCheck ) {
64+ if ( argv . skipApiVersionCheck !== undefined ) {
6565 warn (
6666 'The --skipApiVersionCheck flag is deprecated and will be removed in future versions.' ,
6767 ) ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Options:
1717 (https://jestjs.io/docs/en/troubleshooting)
1818 [boolean] [default: false]
1919 --skipApiVersionCheck Deprecated: this noop flag is kept for backward
20- compatibility [boolean] [default: false ]
20+ compatibility [boolean ]
2121 --help Show help [boolean]
2222
2323Examples:
You can’t perform that action at this time.
0 commit comments