Skip to content

Commit 5c8950e

Browse files
committed
Fix: move simplecov at the top of spec helper, otherwise it doesn't work
1 parent 1fb7a59 commit 5c8950e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

spec/spec_helper.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
require 'simplecov'
2+
SimpleCov.start do
3+
add_filter '/spec/'
4+
end
5+
16
require 'web_push'
27
require 'webmock/rspec'
3-
require 'simplecov'
48

59
WebMock.disable_net_connect!(allow_localhost: true)
6-
SimpleCov.start
710

811
def vapid_options
912
{

0 commit comments

Comments
 (0)