Class: Spoom::BacktraceFilter::Minitest
- Inherits:
-
Minitest::BacktraceFilter
- Object
- Minitest::BacktraceFilter
- Spoom::BacktraceFilter::Minitest
- Extended by:
- T::Sig
- Defined in:
- lib/spoom/backtrace_filter/minitest.rb
Constant Summary collapse
- SORBET_PATHS =
T.let(Gem.loaded_specs["sorbet-runtime"].full_require_paths.freeze, T::Array[String])
Instance Method Summary collapse
Instance Method Details
#filter(bt) ⇒ Object
14 15 16 17 18 |
# File 'lib/spoom/backtrace_filter/minitest.rb', line 14 def filter(bt) super.select do |line| SORBET_PATHS.none? { |path| line.include?(path) } end end |