gitlab-org--gitlab-foss/app/serializers/test_report_summary_entity.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
201 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class TestReportSummaryEntity < Grape::Entity
expose :total
expose :test_suites, using: TestSuiteSummaryEntity do |summary|
summary.test_suites.values
end
end