Skip to content

Commit

Permalink
Removed formatter from simplecov
Browse files Browse the repository at this point in the history
  • Loading branch information
shivam091 committed Jul 1, 2023
1 parent 7e95849 commit ed0d530
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions spec/support/simplecov_env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module SimpleCovEnv
extend self

def start!
configure_formatter
configure_filters
write_coverage_percentage

Expand Down Expand Up @@ -37,15 +36,6 @@ def configure_profile
end
end

def configure_formatter
SimpleCov.formatters = SimpleCov::Formatter::MultiFormatter.new(
[
SimpleCov::Formatter::SimpleFormatter,
SimpleCov::Formatter::HTMLFormatter,
]
)
end

def write_coverage_percentage
SimpleCov.at_exit do
File.open(File.join(SimpleCov.coverage_path, "coverage_percent.txt"), "w") do |f|
Expand Down

0 comments on commit ed0d530

Please sign in to comment.