Skip to content

Commit

Permalink
Update ScriptTransformer.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
F3n67u committed Mar 17, 2022
1 parent e6f28ae commit e010106
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/jest-transform/src/ScriptTransformer.ts
Expand Up @@ -801,13 +801,6 @@ class ScriptTransformer {
shouldTransform(filename: string): boolean {
const ignoreRegexp = this._cache.ignorePatternsRegExp;
const isIgnored = ignoreRegexp ? ignoreRegexp.test(filename) : false;
console.log(
'should transform',
filename,
this._config.transform,
ignoreRegexp,
this._config.transform.length !== 0 && !isIgnored,
);

return this._config.transform.length !== 0 && !isIgnored;
}
Expand Down

0 comments on commit e010106

Please sign in to comment.