Skip to content

Commit

Permalink
chore(release): 25.5.1 (#1611)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnpnl committed May 9, 2020
1 parent e167564 commit c5c3ac8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,14 @@
<a name="25.5.1"></a>
## [25.5.1](https://github.com/kulshekhar/ts-jest/compare/v25.5.0...v25.5.1) (2020-05-09)


### Bug Fixes

* **compiler:** don't resolve files from build folder for `projectReferences` ([#1614](https://github.com/kulshekhar/ts-jest/issues/1614)) ([74b92d3](https://github.com/kulshekhar/ts-jest/commit/74b92d3))
* **config:** don't set `include` value of `tsconfig` to empty array ([#1606](https://github.com/kulshekhar/ts-jest/issues/1606)) ([8a29aaa](https://github.com/kulshekhar/ts-jest/commit/8a29aaa))



<a name="25.5.0"></a>
# [25.5.0](https://github.com/kulshekhar/ts-jest/compare/v25.4.0...v25.5.0) (2020-05-05)

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "ts-jest",
"version": "25.5.0",
"version": "25.5.1",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": "cli.js",
Expand Down
6 changes: 3 additions & 3 deletions src/compiler/language-service.ts
Expand Up @@ -147,15 +147,15 @@ export const initializeLanguageServiceInstance = (
} else {
Object.entries(memoryCache.resolvedModules)
.filter(
entry =>
(entry) =>
/**
* When imported modules change, we only need to check whether the test file is compiled previously or not
* base on memory cache. By checking memory cache, we can avoid repeatedly doing type checking against
* test file for 1st time run after clearing cache because
*/
entry[1].modulePaths.find(modulePath => modulePath === fileName) && !memoryCache.files.has(entry[0]),
entry[1].modulePaths.find((modulePath) => modulePath === fileName) && !memoryCache.files.has(entry[0]),
)
.forEach(entry => {
.forEach((entry) => {
const testFileName = entry[0]
const testFileContent = entry[1].testFileContent
logger.debug(
Expand Down

0 comments on commit c5c3ac8

Please sign in to comment.