To see the issue, ensure package.json has the following line

"tsConfigFile": "../tsconfig.jest-bad.json",

To see the working version, "tsConfigFile": "../tsconfig.jest-good.json",