Support Jest 28
See original GitHub issueWhich feature you want to improve?
The migration guide includes some breaking changes, one of which is the return value of custom tranformers. They now need to return an object { code: '...' }
instead of a string.
What and why you want to improve that feature Jest Preview is compatible with Jest 27. We need to support the latest version (which was just released) as well.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Jest 28: Shedding weight and improving compatibility
Jest 28 is finally here, and it comes with some long requested features such as support for sharding a test run across multiple...
Read more >jest@28 support · Issue #3453 · kulshekhar/ts-jest - GitHub
Feature Proposal Jest 28 has landed. Doesn't work with current ts-jest as-is, gives this error: FAIL src/test/env.test.ts ○ Test suite failed to run ......
Read more >ESM Support | ts-jest - GitHub Pages
To use ts-jest with ESM support: ... Starting from v28.0.0, ts-jest will gradually switch to esbuild / swc to transform ts to js...
Read more >jest - npm
Delightful JavaScript Testing.. Latest version: 29.3.1, last published: 2 months ago. Start using jest in your project by running `npm i ...
Read more >Making sense of Jest v28 ESM support | by Clint Goodman
Making sense of Jest v28 ESM support. Image used from jestjs.io. There is a trend to make NPM modules ESM only. I've ran...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
About the question of whether Jest < 28 works with
{ code }
as the return value’s shape ofprocess
.The answer is yes. I looked into Jest version
24.0.0
(just to be sure. CRA 4 uses Jest26.6.0
actually), and it does support that interface, all the way up to version 28.@thanhsonng Would you want to open a PR?