Skip to content

Commit 4098dc9

Browse files
authored
Merge pull request #2361 from ViewComponent/v4-simplecov-branch
Enable branch coverage in SimpleCov
2 parents d3dc4fe + 44f1dc0 commit 4098dc9

File tree

3 files changed

+1
-45
lines changed

3 files changed

+1
-45
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ task :all_tests do
134134
if ENV["MEASURE_COVERAGE"]
135135
SimpleCov.start do
136136
command_name "RSpec-rails#{Rails::VERSION::STRING}-ruby#{RUBY_VERSION}"
137-
137+
enable_coverage :branch
138138
formatter SimpleCov::Formatter::Console
139139
end
140140
end

test/sandbox/app/components/composable_slots_component.rb

Lines changed: 0 additions & 17 deletions
This file was deleted.

test/sandbox/app/helpers/macro_helper.rb

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)