lib/runner.js
function (data) {
          var isSigned = isTokenSigned(data.file);
          var isFinished = data.status === 'finished';
          var isComplete = isSigned && isFinished;
          debug('checking if run', url, 'is finished', isComplete);
          if (isComplete) {
            testRuns.removeListener('patched', checkIfRunIsFinished);
            resolve(data);
          }
        }
function (data) {
          var isSigned = isTokenSigned(data.file);
          var isFinished = data.status === 'finished';
          var isComplete = isSigned && isFinished;
          debug('checking if run', url, 'is finished', isComplete);
          if (isComplete) {
            testRuns.removeListener('patched', checkIfRunIsFinished);
            resolve(data);
          }
        }
function ( data ) { var isSigned = isTokenSigned ( data . file ) ; var isFinished = data . status === 'finished' ; var isComplete = isSigned && isFinished ; debug ( 'checking if run' , url , 'is finished' , isComplete ) ; if ( isComplete ) { testRuns . removeListener ( 'patched' , checkIfRunIsFinished ) ; resolve ( data ) ; } }
The emitted data.file property contains the token we added to the browser URL
The emitted data . file property contains the token we added to the browser URL