Sha256: b042660eaf7d0ea904b506937ec070f168fe72f6040c8b53eed351c26d3ce08f

Contents?: true

Size: 505 Bytes

Versions: 3

Compression:

Stored size: 505 Bytes

Contents

require 'opal/rspec'

Opal::Processor.source_map_enabled = false

sprockets_env = Opal::RSpec::SprocketsEnvironment.new(spec_pattern='spec/mri/unit/opal/rspec/opal/browser_formatter_spec.rb')
run Opal::Server.new(sprockets: sprockets_env) { |s|
      s.main = 'sprockets_runner_js_errors'
      # sprockets_runner_js_errors will not be in the opal load path by default
      s.append_path 'spec/mri/integration/rack'
      sprockets_env.add_spec_paths_to_sprockets
      s.debug = ENV['OPAL_DEBUG']
    }

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
opal-connect-rspec-0.5.0 spec/mri/unit/opal/rspec/rack/config.ru
opal-rspec-0.5.0 spec/mri/unit/opal/rspec/rack/config.ru
opal-rspec-0.5.0.beta3 spec/mri/unit/opal/rspec/rack/config.ru