Skip to content

Commit

Permalink
fix: set wrapperLength to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
mrazauskas committed Sep 25, 2021
1 parent de74997 commit 733ddcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-runtime/src/index.ts
Expand Up @@ -1470,7 +1470,7 @@ export default class Runtime {

this._fileTransforms.set(filename, {
...transformedFile,
wrapperLength: this.constructModuleWrapperStart().length,
wrapperLength: 0,
});

if (transformedFile.sourceMapPath) {
Expand Down

0 comments on commit 733ddcd

Please sign in to comment.