File tree 2 files changed +19
-19
lines changed
2 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -731,10 +731,10 @@ class ModuleMockerClass {
731
731
if ( typeof original !== 'function' ) {
732
732
throw new Error (
733
733
'Cannot spy the ' +
734
- methodName +
735
- ' property because it is not a function; ' +
736
- this . _typeOf ( original ) +
737
- ' given instead' ,
734
+ methodName +
735
+ ' property because it is not a function; ' +
736
+ this . _typeOf ( original ) +
737
+ ' given instead' ,
738
738
) ;
739
739
}
740
740
Original file line number Diff line number Diff line change @@ -30,21 +30,21 @@ import {options as cliOptions} from './cli/args';
30
30
31
31
type Module = { |
32
32
children : Array < Module > ,
33
- exports : any ,
34
- filename : string ,
35
- id : string ,
36
- loaded : boolean ,
37
- parent ?: Module ,
38
- paths ?: Array < Path > ,
39
- require ?: ( id : string ) => any ,
33
+ exports : any ,
34
+ filename : string ,
35
+ id : string ,
36
+ loaded : boolean ,
37
+ parent ?: Module ,
38
+ paths ?: Array < Path > ,
39
+ require ?: ( id : string ) => any ,
40
40
| } ;
41
41
42
42
type HasteMapOptions = { |
43
43
console ? : Console ,
44
- maxWorkers : number ,
45
- resetCache : boolean ,
46
- watch ? : boolean ,
47
- watchman : boolean ,
44
+ maxWorkers : number ,
45
+ resetCache : boolean ,
46
+ watch ? : boolean ,
47
+ watchman : boolean ,
48
48
| } ;
49
49
50
50
type InternalModuleOptions = { |
@@ -550,7 +550,7 @@ class Runtime {
550
550
filename,
551
551
// $FlowFixMe
552
552
(localModule.require: LocalModuleRequire),
553
- ), // jest object
553
+ ), // jest object
554
554
);
555
555
556
556
this._isCurrentlyExecutingManualMock = origCurrExecutingManualMock;
@@ -595,7 +595,7 @@ class Runtime {
595
595
if ( mockMetadata == null ) {
596
596
throw new Error (
597
597
`Failed to get mock metadata: ${ modulePath } \n\n` +
598
- `See: http://facebook.github.io/jest/docs/manual-mocks.html#content` ,
598
+ `See: http://facebook.github.io/jest/docs/manual-mocks.html#content` ,
599
599
) ;
600
600
}
601
601
this . _mockMetaDataCache [ modulePath ] = mockMetadata ;
@@ -769,8 +769,8 @@ class Runtime {
769
769
this . _environment . global . jasmine
770
770
? ( this . _environment . global . jasmine . DEFAULT_TIMEOUT_INTERVAL = timeout )
771
771
: ( this . _environment . global [
772
- Symbol . for ( 'TEST_TIMEOUT_SYMBOL' )
773
- ] = timeout ) ;
772
+ Symbol . for ( 'TEST_TIMEOUT_SYMBOL' )
773
+ ] = timeout ) ;
774
774
return jestObject ;
775
775
} ;
776
776
You can’t perform that action at this time.
0 commit comments