@@ -351,7 +351,9 @@ class ShallowWrapper {
351351 ) {
352352 spy = spyMethod ( instance , 'shouldComponentUpdate' ) ;
353353 } else if ( isPureComponent ( instance ) ) {
354- shouldRender = pureComponentShouldComponentUpdate ( prevProps , props , state , instance . state ) ;
354+ shouldRender = pureComponentShouldComponentUpdate (
355+ prevProps , props , state , instance . state ,
356+ ) ;
355357 }
356358 if ( props ) this [ UNRENDERED ] = cloneElement ( adapter , this [ UNRENDERED ] , props ) ;
357359 this [ RENDERER ] . render ( this [ UNRENDERED ] , nextContext ) ;
@@ -483,7 +485,9 @@ class ShallowWrapper {
483485 ) {
484486 spy = spyMethod ( instance , 'shouldComponentUpdate' ) ;
485487 } else if ( isPureComponent ( instance ) ) {
486- shouldRender = pureComponentShouldComponentUpdate ( prevProps , instance . props , prevState , statePayload ) ;
488+ shouldRender = pureComponentShouldComponentUpdate (
489+ prevProps , instance . props , prevState , statePayload ,
490+ ) ;
487491 }
488492 // We don't pass the setState callback here
489493 // to guarantee to call the callback after finishing the render
0 commit comments