Skip to content

Commit

Permalink
Fix and improve Coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
tomascco committed Nov 29, 2023
1 parent 1dd051b commit e9da1df
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 e9da1df

Please sign in to comment.