Sha256: 2a2068e7fdbc856cfef8e88876bc1b19096c5563f7cf92b0e80080f46165c7a3
Contents?: true
Size: 682 Bytes
Versions: 7
Compression:
Stored size: 682 Bytes
Contents
require 'file' require 'dir' require 'thread' # vendor a pre-built rspec require 'opal/rspec/rspec' require 'opal/rspec/fixes' require 'opal/rspec/text_formatter' require 'opal/rspec/browser_formatter' require 'opal/rspec/runner' require 'opal/rspec/async' RSpec.configure do |config| # For now, always use our custom formatter for results config.formatter = Opal::RSpec::Runner.default_formatter # Async helpers for specs config.include Opal::RSpec::AsyncHelpers config.extend Opal::RSpec::AsyncDefinitions # Always support expect() and .should syntax (we should not do this really..) config.expect_with :rspec do |c| c.syntax = [:should, :expect] end end
Version data entries
7 entries across 7 versions & 1 rubygems