Conversation
r3nya
left a comment
There was a problem hiding this comment.
Hey!
Thanks for your PR.
In the latest version you need to update file https://github.com/wmonk/create-react-app-typescript/blob/master/scripts/utils/createJestConfig.js#L67 to
"tsConfig": paths.appTsTestConfig
Please update this template as well.
Arelav
left a comment
There was a problem hiding this comment.
I wanted to create the same PR.
Also it requires to chage:
'^.+\\.tsx?$': resolve('config/jest/typescriptTransform.js'),
to just
"^.+\\.tsx?$": "ts-jest",
according to this warning
ts-jest[main] (WARN) Replace any occurrences of "ts-jest/dist/preprocessor.js" or "<rootDir>/node_modules/ts-jest/preprocessor.js" in the 'transform' section of your Jest config with just "ts-jest".
|
We've used the custom typescript transform file as a wrapper for Just one issue left: |
|
@DorianGrey Also we have to remove |
Update ts-jest version from 22.0.1 to 23.10.3
#399