Skip to content

Commit 9b92f79

Browse files
committed
Configure SimpleCov to exclude spec files
1 parent 2cd0fcf commit 9b92f79

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/spec_helper.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
# it won't be able to track your files and their coverage!
2121
# The SimpleCov.start must be issued before any of your application code is required!
2222
require 'simplecov'
23-
SimpleCov.start
23+
SimpleCov.start do
24+
add_filter %r{^/spec/}
25+
end
2426

2527
require 'meilisearch'
2628
require 'byebug'

0 commit comments

Comments
 (0)