We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 141c7cd commit b0aa930Copy full SHA for b0aa930
spec/spec_helper.rb
@@ -1,7 +1,7 @@
1
# frozen_string_literal: true
2
3
require "debug"
4
-require "spec/support/coverage"
+require "./spec/support/coverage"
5
require "interactify"
6
7
if Interactify.sidekiq?
spec/support/coverage.rb
@@ -3,8 +3,11 @@
require "simplecov"
SimpleCov.start do
+ add_filter "/spec/"
+ add_filter %r{_spec\.rb$} # This line excludes all files ending with _spec.rb
8
+
9
add_group "Sidekiq jobs" do |src_file|
- src_file.project_filename =~ %r{lib/interactify/async}
10
+ src_file.project_filename =~ %r{lib/interactify/async} && src_file.filename !~ /_spec\.rb/
11
end
12
13
add_group "Wiring", "lib/interactify/wiring"
0 commit comments