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
I'd like to use ts-transformer with the latest version of jest and ts-jest (v27).
To Reproduce
When I naively run ts-transformer with jest/ts-jest 27, I get the following error:
TypeError: Cannot read property 'visitNode' of undefined
at node_modules/@formatjs/ts-transformer/src/transform.js:422:23
at transformSourceFileOrBundle (node_modules/typescript/lib/typescript.js:84914:57)
at transformation (node_modules/typescript/lib/typescript.js:102918:24)
at transformRoot (node_modules/typescript/lib/typescript.js:102945:82)
at Object.transformNodes (node_modules/typescript/lib/typescript.js:102929:78)
at emitJsFileOrBundle (node_modules/typescript/lib/typescript.js:103614:32)
at emitSourceFileOrBundle (node_modules/typescript/lib/typescript.js:103561:13)
at forEachEmittedFile (node_modules/typescript/lib/typescript.js:103282:34)
at Object.emitFiles (node_modules/typescript/lib/typescript.js:103541:9)
at emitWorker (node_modules/typescript/lib/typescript.js:110324:33)
The text was updated successfully, but these errors were encountered:
Which package?
ts-transformer
Describe the request
ts-transformer has a peer dependency on ts-jest 26
I'd like to use ts-transformer with the latest version of jest and ts-jest (v27).
To Reproduce
When I naively run ts-transformer with jest/ts-jest 27, I get the following error:
The text was updated successfully, but these errors were encountered: