Sha256: 757623fed637e15d8f2de1d0830077af377e71b2a99515073cf7b9d67adfc2ca

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

# frozen_string_literal: true

ENV['ENV'] = 'test'

require 'minitest/autorun'
require 'minitest/pride'
require 'mocha/minitest'
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-3.0.0 test/test_helper.rb