Sha256: 109159729c4817e469ea0e8bb8ba85ca1d6846e448dba5c277ba5400ba83bde5
Contents?: true
Size: 524 Bytes
Versions: 9
Compression:
Stored size: 524 Bytes
Contents
# typed: strict # frozen_string_literal: true require "minitest" module Spoom module BacktraceFilter class Minitest < ::Minitest::BacktraceFilter extend T::Sig SORBET_PATHS = T.let(Gem.loaded_specs["sorbet-runtime"].full_require_paths.freeze, T::Array[String]) sig { override.params(bt: T.nilable(T::Array[String])).returns(T::Array[String]) } def filter(bt) super.select do |line| SORBET_PATHS.none? { |path| line.include?(path) } end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems