code: 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);
            }
          }
docs: The emitted data.file property contains the token we added to the browser URL