class TurboTests::Reporter

def finish

def finish
  # SEE: https://bit.ly/2NP87Cz
  end_time = Process.clock_gettime(Process::CLOCK_MONOTONIC)
  delegate_to_formatters(:start_dump,
    RSpec::Core::Notifications::NullNotification)
  delegate_to_formatters(:dump_pending,
    RSpec::Core::Notifications::ExamplesNotification.new(
      self
    ))
  delegate_to_formatters(:dump_failures,
    RSpec::Core::Notifications::ExamplesNotification.new(
      self
    ))
  delegate_to_formatters(:dump_summary,
    RSpec::Core::Notifications::SummaryNotification.new(
      end_time - @start_time,
      @all_examples,
      @failed_examples,
      @pending_examples,
      @load_time,
      @errors_outside_of_examples_count
    ))
  delegate_to_formatters(:close,
    RSpec::Core::Notifications::NullNotification)
end