File tree Expand file tree Collapse file tree
jest-jasmine2/src/jasmine Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -438,10 +438,10 @@ export default function(j$) {
438438 if ( currentSpec !== null ) {
439439 throw new Error (
440440 'Tests cannot be nested. Test `' +
441- spec . description +
442- '` cannot run because it is nested within `' +
443- currentSpec . description +
444- '`.' ,
441+ spec . description +
442+ '` cannot run because it is nested within `' +
443+ currentSpec . description +
444+ '`.' ,
445445 ) ;
446446 }
447447 currentDeclarationSuite . addChild ( spec ) ;
Original file line number Diff line number Diff line change @@ -672,10 +672,10 @@ class ModuleMockerClass {
672672 if ( typeof original !== 'function' ) {
673673 throw new Error (
674674 'Cannot spy the ' +
675- methodName +
676- ' property because it is not a function; ' +
677- this . _typeOf ( original ) +
678- ' given instead' ,
675+ methodName +
676+ ' property because it is not a function; ' +
677+ this . _typeOf ( original ) +
678+ ' given instead' ,
679679 ) ;
680680 }
681681
@@ -731,10 +731,10 @@ class ModuleMockerClass {
731731 if ( typeof original !== 'function' ) {
732732 throw new Error (
733733 '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' ,
738738 ) ;
739739 }
740740
Original file line number Diff line number Diff line change @@ -30,21 +30,21 @@ import {options as cliOptions} from './cli/args';
3030
3131type Module = { |
3232 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 ,
4040| } ;
4141
4242type HasteMapOptions = { |
4343 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 ,
4848| } ;
4949
5050type InternalModuleOptions = { |
@@ -550,7 +550,7 @@ class Runtime {
550550 filename,
551551 // $FlowFixMe
552552 (localModule.require: LocalModuleRequire),
553- ), // jest object
553+ ), // jest object
554554 );
555555
556556 this._isCurrentlyExecutingManualMock = origCurrExecutingManualMock;
@@ -595,7 +595,7 @@ class Runtime {
595595 if ( mockMetadata == null ) {
596596 throw new Error (
597597 `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` ,
599599 ) ;
600600 }
601601 this . _mockMetaDataCache [ modulePath ] = mockMetadata ;
@@ -769,8 +769,8 @@ class Runtime {
769769 this . _environment . global . jasmine
770770 ? ( this . _environment . global . jasmine . DEFAULT_TIMEOUT_INTERVAL = timeout )
771771 : ( this . _environment . global [
772- Symbol . for ( 'TEST_TIMEOUT_SYMBOL' )
773- ] = timeout ) ;
772+ Symbol . for ( 'TEST_TIMEOUT_SYMBOL' )
773+ ] = timeout ) ;
774774 return jestObject ;
775775 } ;
776776
You can’t perform that action at this time.
0 commit comments