Skip to content

Commit

Permalink
Only track lib files for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mnovelo committed Oct 28, 2024
1 parent b665252 commit 9df3de1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

SimpleCov.formatter = SimpleCov::Formatter::JSONFormatter

SimpleCov.start
SimpleCov.start do
track_files('lib/**/*.rb')
end
end

$LOAD_PATH.unshift(File.dirname(__FILE__))
Expand Down

0 comments on commit 9df3de1

Please sign in to comment.