Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ts-jest integration #1382

Open
malykhinvi opened this issue Apr 7, 2022 · 0 comments
Open

ts-jest integration #1382

malykhinvi opened this issue Apr 7, 2022 · 0 comments

Comments

@malykhinvi
Copy link

Hello!

I was trying to set up ts-import-plugin as a ts-jest astTransformer. It looks like I configured it correctly, because import statements are replaced properly (I ran it in debug mode and I saw that createDistAst returns and array of new import nodes). But when I run the test, I see the error like this:

ReferenceError: lodash_1 is not defined

In the readme there is a lot of examples for different use cases. I was wondering if there is an example with ts-jest?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant