Sha256: 184db46b142ca34e3c4afc762af5ee6e827943e1860095798b678cb9a39a75d7
Contents?: true
Size: 709 Bytes
Versions: 4
Compression:
Stored size: 709 Bytes
Contents
# frozen_string_literal: true if Warning.respond_to?(:[]=) Warning[:deprecated] = true end ENV["ENV"] = "test" if ENV["COVERAGE"] require "simplecov" SimpleCov.start 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.7 | test/test_helper.rb |
statsd-instrument-3.9.6 | test/test_helper.rb |
statsd-instrument-3.9.5 | test/test_helper.rb |
statsd-instrument-3.9.4 | test/test_helper.rb |