[Bug]: ts-jest[ts-jest-transformer] (WARN) Define ts-jest
config under globals
is deprecated. with ts-jest 29.0.5
#2037
Labels
ts-jest
config under globals
is deprecated. with ts-jest 29.0.5
#2037
Version
13.0.1
Steps to reproduce
There is no globals section in my jest.config.js; ie
globals: {
'ts-jest': {
tsconfig: '/tsconfig.spec.json',
},
},
Expected behavior
Not to see any warnings.
Actual behavior
Warning about use of ts-jest in globals:
ts-jest[ts-jest-transformer] (WARN) Define
ts-jest
config underglobals
is deprecated. Please dotransform: {
<transform_regex>: ['ts-jest', { /* ts-jest config goes here in Jest */ }],
},
Additional context
I had originally seen that warning when I actually had ts-jest in globals config, but I realized I didn't actually need it because I'm using default tsconfig.spec.json file. I don't think it's my configuration, but maybe I'm wrong.
Environment
The text was updated successfully, but these errors were encountered: