Sha256: 56113edd48f8f4dadb653f3f5fde665e9cf236c9cbf87aae7c5d0f1d2077c8be

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 Bytes

Contents

# frozen_string_literal: true

ENV['ENV'] = 'test'

require 'minitest/autorun'
require 'minitest/pride'
require 'mocha/setup'
require 'set'
require 'logger'
require 'statsd-instrument'

require_relative 'helpers/rubocop_helper'

module StatsD::Instrument
  def self.strict_mode_enabled?
    StatsD::Instrument.const_defined?(:Strict) &&
      StatsD.singleton_class.ancestors.include?(StatsD::Instrument::Strict)
  end
end

StatsD.logger = Logger.new(File::NULL)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
statsd-instrument-2.6.0 test/test_helper.rb