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

Fix: transform using received file content #3194

Merged
merged 1 commit into from Jan 2, 2022
Merged

Fix: transform using received file content #3194

merged 1 commit into from Jan 2, 2022

Commits on Jan 2, 2022

  1. Fix: transform using received file content

    The ts-jest transform is currently ignoring the file content it receives until there is already a hit in the memory cache. That prevents us from doing things like chaining transforms (see https://github.com/anc95/jest-chain-transform), as ts-jest will just read the original file from disk and ignore the transformation.
    
    The changes I'm proposing were enough to resolve the issue for my use case. I haven't done extensive research into it, but it seems pretty straightforward.
    TexKiller committed Jan 2, 2022
    Copy the full SHA
    ef6c672 View commit details
    Browse the repository at this point in the history