2019-12-09 09:14:31 +01:00
|
|
|
require 'simplecov'
|
|
|
|
|
2019-12-09 07:14:30 +01:00
|
|
|
SimpleCov.configure do
|
|
|
|
add_filter do |src|
|
|
|
|
src.filename !~ /discourse-custom-wizard/ ||
|
2020-11-03 01:24:20 +01:00
|
|
|
src.filename =~ /spec/ ||
|
|
|
|
src.filename =~ /db/ ||
|
|
|
|
src.filename =~ /api/ ## API features are currently experimental
|
2019-12-09 07:14:30 +01:00
|
|
|
end
|
|
|
|
end
|