-
Notifications
You must be signed in to change notification settings - Fork 467
Closed
Labels
π Feature Requestnew suggested featurenew suggested feature
Description
π 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
β Invalid return value:
Code transformer's `process` method must return an object containing `code` key
with processed string. If `processAsync` method is implemented it must return
a Promise resolving to an object containing `code` key with processed string.
Code Transformation Documentation:
https://jestjs.io/docs/code-transformation
at ScriptTransformer._buildTransformResult (node_modules/@jest/transform/build/ScriptTransformer.js:504:15)
at ScriptTransformer.transformSource (node_modules/@jest/transform/build/ScriptTransformer.js:623:17)
at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:760:40)
at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:817:19)
Created this issue to track when jest28 support will land here.
Thanks.
Motivation
Β
Example
No response
igordanchenko, MarkLyck, Mister-Hope, jacekkarczmarczyk, MarcPorciuncula and 57 morespencerbeggs, smarlhens, RikoKami, jlarmstrongiv and stepaniukmSchroederSteffenMarkLyck, trevor-scheer, Mister-Hope, TrejGun and stepaniukm
Metadata
Metadata
Assignees
Labels
π Feature Requestnew suggested featurenew suggested feature