mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 23:28:08 +01:00
13 lines
329 B
Ruby
13 lines
329 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
if defined?(Flatware)
|
||
|
Flatware.configure do |config|
|
||
|
config.after_fork do |test_env_number|
|
||
|
unless ENV.fetch('DISABLE_SIMPLECOV', nil) == 'true'
|
||
|
require 'simplecov'
|
||
|
SimpleCov.at_fork.call(test_env_number) # Combines parallel coverage results
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|