File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ function setupProcessState(root, globalOptions) {
297297 process . on ( 'uncaughtException' , exceptionHandler ) ;
298298 process . on ( 'unhandledRejection' , rejectionHandler ) ;
299299 process . on ( 'beforeExit' , exitHandler ) ;
300- if ( globalOptions . isTestRunner || globalOptions . hookSignal = == true ) {
300+ if ( globalOptions . isTestRunner && globalOptions . hookSignal ! == true ) {
301301 process . on ( 'SIGINT' , terminationHandler ) ;
302302 process . on ( 'SIGTERM' , terminationHandler ) ;
303303 }
Original file line number Diff line number Diff line change @@ -593,7 +593,7 @@ function run(options = kEmptyObject) {
593593 argv = [ ] ,
594594 cwd = process . cwd ( ) ,
595595 rerunFailuresFilePath,
596- hookSignal = false ,
596+ hookSignal = true ,
597597 } = options ;
598598
599599 if ( files != null ) {
You can’t perform that action at this time.
0 commit comments