Method: RspecGithubActionsSummary::ExampleGroup#render_failed_examples

Defined in:
lib/rspec_github_actions_summary/example_group.rb

#render_failed_examplesObject



22
23
24
25
26
27
28
# File 'lib/rspec_github_actions_summary/example_group.rb', line 22

def render_failed_examples
  return [] if json['failed'].empty?

  json['failed'].map do |j|
    "bin/rspec #{j["path"]} # #{j["desc"]}"
  end
end