Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
## master

### Fixes

* `[jest]` Add `import-local` to `jest` package.
([#5353](https://github.com/facebook/jest/pull/5353))

## jest 22.1.4

### Fixes

* `[jest-util]` Add "debug" method to "console" implementations
([#5350](https://github.com/facebook/jest/pull/5350))
* `[jest-resolve]` Add condition to avoid infinite loop when node module package main is ".".
([#5344)](https://github.com/facebook/jest/pull/5344)
* `[jest-resolve]` Add condition to avoid infinite loop when node module package
main is ".". ([#5344)](https://github.com/facebook/jest/pull/5344)

### Features

* `[jest-cli]` `--changedSince`: allow selectively running tests for code
changed since arbitrary revisions.
([#5312](https://github.com/facebook/jest/pull/5312))
Expand Down
6 changes: 5 additions & 1 deletion packages/jest/bin/jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
* LICENSE file in the root directory of this source tree.
*/

require('jest-cli/bin/jest');
const importLocal = require('import-local');

if (!importLocal(__filename)) {
require('jest-cli/bin/jest');
}
1 change: 1 addition & 0 deletions packages/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"version": "22.1.4",
"main": "build/jest.js",
"dependencies": {
"import-local": "^1.0.0",
"jest-cli": "^22.1.4"
},
"bin": {
Expand Down