Skip to content

ts-jest integration #1382

@malykhinvi

Description

@malykhinvi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions