Skip to content

Commit

Permalink
Removing internal caching altogether
Browse files Browse the repository at this point in the history
With the other changes in this PR, there's really no reason to leave this in even behind a flag
  • Loading branch information
kulshekhar committed Jan 5, 2018
1 parent d8565af commit a594d6e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/preprocessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,6 @@ export function process(
outputText,
);

if (tsJestConfig.enableInternalCache === true) {
// This config is undocumented.
// This has been made configurable for now to ensure that
// if this breaks something for existing users, there's a quick fix
// in place.
// If this doesn't cause a problem, this if block will be removed
// in a future version
cacheFile(jestConfig, filePath, modified);
}

return modified;
}

Expand Down

0 comments on commit a594d6e

Please sign in to comment.