Fix the local code coverage reporting

This commit is contained in:
Wilson Silva 2023-01-06 12:13:26 +07:00
parent cc62c9f226
commit cfa1eecb23
No known key found for this signature in database
GPG Key ID: 65135F94E23F82C8

View File

@ -1,6 +1,5 @@
# frozen_string_literal: true
require 'nostr'
require 'pry'
require 'simplecov'
require 'simplecov-console'
@ -14,6 +13,8 @@ unless ENV['COVERAGE'] == 'false'
end
end
require 'nostr'
RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
config.example_status_persistence_file_path = '.rspec_status'