Skip to content

Commit

Permalink
Merge pull request #9 from tomascco:fix-and-improve-coverage-generation
Browse files Browse the repository at this point in the history
Fix and improve Coverage report
  • Loading branch information
tomascco authored Nov 29, 2023
2 parents 1dd051b + e9da1df commit 71752ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sorbet/rbi/shims/test_helper.rbi
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def add_filter(*); end
def enable_coverage(*); end
5 changes: 4 additions & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
# typed: true

require "simplecov"
SimpleCov.start
SimpleCov.start do
add_filter "/test/"
enable_coverage :branch
end

$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
require "rubrik"
Expand Down

0 comments on commit 71752ea

Please sign in to comment.