File tree 3 files changed +14
-3
lines changed
3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 1
1
## master
2
2
3
+ ### Fixes
4
+
5
+ * ` [jest] ` Add ` import-local ` to ` jest ` package.
6
+ ([ #5353 ] ( https://github.com/facebook/jest/pull/5353 ) )
7
+
3
8
## jest 22.1.4
4
9
5
10
### Fixes
6
11
7
12
* ` [jest-util] ` Add "debug" method to "console" implementations
8
13
([ #5350 ] ( https://github.com/facebook/jest/pull/5350 ) )
9
- * ` [jest-resolve] ` Add condition to avoid infinite loop when node module package main is ".".
10
- ([ #5344 )] ( https://github.com/facebook/jest/pull/5344 )
14
+ * ` [jest-resolve] ` Add condition to avoid infinite loop when node module package
15
+ main is ".". ([ #5344 )] ( https://github.com/facebook/jest/pull/5344 )
11
16
12
17
### Features
18
+
13
19
* ` [jest-cli] ` ` --changedSince ` : allow selectively running tests for code
14
20
changed since arbitrary revisions.
15
21
([ #5312 ] ( https://github.com/facebook/jest/pull/5312 ) )
Original file line number Diff line number Diff line change 6
6
* LICENSE file in the root directory of this source tree.
7
7
*/
8
8
9
- require ( 'jest-cli/bin/jest' ) ;
9
+ const importLocal = require ( 'import-local' ) ;
10
+
11
+ if ( ! importLocal ( __filename ) ) {
12
+ require ( 'jest-cli/bin/jest' ) ;
13
+ }
Original file line number Diff line number Diff line change 4
4
"version" : " 22.1.4" ,
5
5
"main" : " build/jest.js" ,
6
6
"dependencies" : {
7
+ "import-local" : " ^1.0.0" ,
7
8
"jest-cli" : " ^22.1.4"
8
9
},
9
10
"bin" : {
You can’t perform that action at this time.
0 commit comments