lib/reporters/json-stream.js
function clean(test) {
  return {
    title: test.title,
    fullTitle: test.fullTitle(),
    duration: test.duration,
    currentRetry: test.currentRetry()
  };
}
function clean(test) {
  return {
    title: test.title,
    fullTitle: test.fullTitle(),
    duration: test.duration,
    currentRetry: test.currentRetry()
  };
}
function clean ( test ) { return { title : test . title , fullTitle : test . fullTitle ( ) , duration : test . duration , currentRetry : test . currentRetry ( ) } ; }
Returns an object literal representation of `test`
free of cyclic properties, etc.

@private
@param {Test} test - Instance used as data source.
@return {Object} object containing pared-down test instance data
Returns an object literal representation of test free of cyclic properties etc .