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

View File

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