src/setupJasmine.js
function getRecordingName(spec, suite) {
  const descriptions = [spec.description];

  while (suite) {
    suite.description && descriptions.push(suite.description);
    suite = suite.parentSuite;
  }

  return descriptions.reverse().join('/');
}
function getRecordingName(spec, suite) {
  const descriptions = [spec.description];

  while (suite) {
    suite.description && descriptions.push(suite.description);
    suite = suite.parentSuite;
  }

  return descriptions.reverse().join('/');
}
function getRecordingName ( spec , suite ) { const descriptions = [ spec . description ] ; while ( suite ) { suite . description && descriptions . push ( suite . description ) ; suite = suite . parentSuite ; } return descriptions . reverse ( ) . join ( '/' ) ; }
Get full spec description, starting from the top
suite

@param {Object} spec Current spec
@param {Object} suite Current spec parent suite

@returns {string} Full spec description (e.g. "suite/should do something")
Get full spec description starting from the top suite