Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

sod
Copy link
Contributor

@sod sod commented Apr 23, 2021

fixes: @swc-node/jest ignores the config provided with the transformer when using jest@27

jestjs/jest#10926 made a breaking change for upcoming jest@27 that renders the current config retrieval non functional. jestConfig.transform will be undefined and jestConfig.transformerConfig will hold the configuration instead.

See also new TransformerOptions type https://github.com/facebook/jest/blob/a28f14a9dbd4621eb2e848034cdfdfec28ff9866/packages/jest-transform/src/types.ts#L63

@Brooooooklyn Brooooooklyn merged commit a827408 into swc-project:master Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants