lib/pause.js
function () {
  next = false;
  // add listener to all next steps to provide next() functionality
  event.dispatcher.on(event.step.after, () => {
    recorder.add('Start next pause session', () => {
      if (!next) return;
      return pauseSession();
    });
  });
  recorder.add('Start new session', pauseSession);
}
function () {
  next = false;
  // add listener to all next steps to provide next() functionality
  event.dispatcher.on(event.step.after, () => {
    recorder.add('Start next pause session', () => {
      if (!next) return;
      return pauseSession();
    });
  });
  recorder.add('Start new session', pauseSession);
}
function ( ) { next = false ; // add listener to all next steps to provide next() functionality event . dispatcher . on ( event . step . after , ( ) => { recorder . add ( 'Start next pause session' , ( ) => { if ( ! next ) return ; return pauseSession ( ) ; } ) ; } ) ; recorder . add ( 'Start new session' , pauseSession ) ; }
Pauses test execution and starts interactive shell
Pauses test execution and starts interactive shell