2020-07-09 11:08:59 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-08-11 17:10:09 -04:00
|
|
|
class TestReportSummaryEntity < Grape::Entity
|
|
|
|
expose :total
|
|
|
|
|
2020-07-09 11:08:59 -04:00
|
|
|
expose :test_suites, using: TestSuiteSummaryEntity do |summary|
|
|
|
|
summary.test_suites.values
|
|
|
|
end
|
|
|
|
end
|