diff --git a/sorbet/rbi/shims/test_helper.rbi b/sorbet/rbi/shims/test_helper.rbi new file mode 100644 index 0000000..739e7a5 --- /dev/null +++ b/sorbet/rbi/shims/test_helper.rbi @@ -0,0 +1,2 @@ +def add_filter(*); end +def enable_coverage(*); end diff --git a/test/test_helper.rb b/test/test_helper.rb index 4e8438c..493e6e6 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -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"