Sha256: ab071fceddf5b45c3db4731098269054aa2fd3afedd77558cd12a35f2e739bf5

Contents?: true

Size: 278 Bytes

Versions: 3

Compression:

Stored size: 278 Bytes

Contents

require 'opal/rspec/formatter/browser_formatter'

RSpec.configure do |config|
  if OPAL_PLATFORM.nil?
    # We want the browser formatter ONLY for the real browser, not
    # our headless browser runners.
    config.default_formatter = ::Opal::RSpec::BrowserFormatter
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
opal-rspec-1.1.0.alpha3 lib-opal/opal/rspec/browser.rb
opal-rspec-1.1.0.alpha2 lib-opal/opal/rspec/browser.rb
opal-rspec-1.1.0.alpha1 lib-opal/opal/rspec/browser.rb