You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# frozen_string_literal: true |
|
|
|
if defined?(Flatware) |
|
Flatware.configure do |config| |
|
config.after_fork do |test_env_number| |
|
if ENV.fetch('COVERAGE', false) |
|
require 'simplecov' |
|
SimpleCov.at_fork.call(test_env_number) # Combines parallel coverage results |
|
end |
|
end |
|
end |
|
end
|
|
|