index.js
function report(test) {
  return {
    test_file: test.file + ': ' + test.fullTitle(),
    start: test.start,
    end: test.end,
    exit_code: test.exit_code,
    elapsed: test.duration / 1000,
    error: errorJSON(test.err || {}),
    url: test.url,
    status: test.state
  };
}
function report(test) {
  return {
    test_file: test.file + ': ' + test.fullTitle(),
    start: test.start,
    end: test.end,
    exit_code: test.exit_code,
    elapsed: test.duration / 1000,
    error: errorJSON(test.err || {}),
    url: test.url,
    status: test.state
  };
}
function report ( test ) { return { test_file : test . file + ': ' + test . fullTitle ( ) , start : test . start , end : test . end , exit_code : test . exit_code , elapsed : test . duration / 1000 , error : errorJSON ( test . err || { } ) , url : test . url , status : test . state } ; }
Return an object with all of the relevant information for the test.

@api private
@param {Object} test
@return {Object}
Return an object with all of the relevant information for the test .