You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.
Hi, I have ejected version of cra and had some issues with configuration for jest.
After about 3 hours trying to chain compilation of babel and typescript I just found typescript-babel-jest. Zero configuration drop-in replacement.
I just changed "^.+\\.tsx?$": "<rootDir>/config/jest/typescriptTransform.js", with "^.+\\.tsx?$": "typescript-babel-jest", in my package.json and it simply works, reads tsconfig.json and .babelrc and other settings!
Hi, I have ejected version of cra and had some issues with configuration for jest.
After about 3 hours trying to chain compilation of
babel
andtypescript
I just foundtypescript-babel-jest
. Zero configuration drop-in replacement.I just changed
"^.+\\.tsx?$": "<rootDir>/config/jest/typescriptTransform.js",
with"^.+\\.tsx?$": "typescript-babel-jest",
in mypackage.json
and it simply works, reads tsconfig.json and .babelrc and other settings!So I have suggestion for including this package, this guys use it too https://github.com/ant-design/ant-design/blob/master/.jest.js#L33
The text was updated successfully, but these errors were encountered: