Sha256: a189f6e2bb1494ff660d65b7a013ee742c599a56ae9d2d1698cd1a2255c57372
Contents?: true
Size: 699 Bytes
Versions: 4
Compression:
Stored size: 699 Bytes
Contents
# frozen_string_literal: true if Warning.respond_to?(:[]=) Warning[:deprecated] = true end ENV["ENV"] = "test" unless ENV.key?("CI") require "minitest/pride" end require "minitest/autorun" unless ENV.key?("CI") require "minitest/pride" end require "mocha/minitest" require "statsd-instrument" require_relative "helpers/rubocop_helper" module StatsD module Instrument class << self def strict_mode_enabled? StatsD::Instrument.const_defined?(:Strict) && StatsD.singleton_class.ancestors.include?(StatsD::Instrument::Strict) end end end end StatsD.logger = Logger.new(File::NULL) Thread.abort_on_exception = true Thread.report_on_exception = true
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
statsd-instrument-3.9.3 | test/test_helper.rb |
statsd-instrument-3.9.2 | test/test_helper.rb |
statsd-instrument-3.9.1 | test/test_helper.rb |
statsd-instrument-3.9.0 | test/test_helper.rb |