File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,12 @@ export const run: CliCommand = async (args: CliCommandArgs /* , logger: Logger *
41
41
const tsconfig =
42
42
askedTsconfig === 'tsconfig.json' ? undefined : ( askedTsconfig as TsJestTransformerOptions [ 'tsconfig' ] )
43
43
const pkgJsonContent = isPackageJsonExisted ? JSON . parse ( readFileSync ( pkgFile , 'utf8' ) ) : { }
44
+ if ( shouldPostProcessWithBabel ) {
45
+ console . warn (
46
+ `The option --babel is deprecated and will be removed in the next major version.` +
47
+ ` Please specify 'js' option value (see more with npx ts-jest help) if you wish 'ts-jest' to process 'js' with TypeScript API or Babel.` ,
48
+ )
49
+ }
44
50
45
51
if ( isPackageJsonConfig && ! isJestConfigFileExisted ) {
46
52
throw new Error ( `File ${ file } does not exists.` )
You can’t perform that action at this time.
0 commit comments