Class: Undercover::ResultHashFormatterWithRoot

Inherits:
SimpleCovJSONFormatter::ResultHashFormatter
  • Object
show all
Defined in:
lib/undercover/simplecov_formatter.rb

Instance Method Summary collapse

Instance Method Details

#formatObject



66
67
68
69
70
71
72
# File 'lib/undercover/simplecov_formatter.rb', line 66

def format
  formatted_result[:meta] = {timestamp: @result.created_at.to_i}
  format_files
  add_undercover_meta_fields
  add_ignored_files
  formatted_result
end