- Notifications
You must be signed in to change notification settings - Fork488
Update ts-jest 22.0.1 -> 23.10.3#410
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
r3nya left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Hey!
Thanks for your PR.
In the latest version you need to update filehttps://github.com/wmonk/create-react-app-typescript/blob/master/scripts/utils/createJestConfig.js#L67 to
"tsConfig": paths.appTsTestConfigPlease update this template as well.
r3nya left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
👍
Arelav left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
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 warningts-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".
DorianGrey commentedOct 11, 2018 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
We've used the custom typescript transform file as a wrapper for Just one issue left: |
Arelav commentedOct 11, 2018 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@DorianGrey Also we have to remove |
Update ts-jest version from 22.0.1 to 23.10.3
#399