# TODO: this require causes a warning, but removing it causes an error...
require 'jquery'

require 'opal-jquery'
require 'opal-haml'

require 'active_support/testing/declarative'

class Minitest::Test
  # Add the 'test' DSL.
  extend ActiveSupport::Testing::Declarative
end

require 'jquery'
require 'opal-jquery'
require 'opal-haml'

require 'active_support/testing/declarative'

class Minitest::Test
  # Add the 'test' DSL.
  extend ActiveSupport::Testing::Declarative
end

# TODO: get this from the environment? I don't know why Opal doesn't set this...
Encoding.default_external = 'UTF-8'

Set default encoding to avoid raising an error from failed assertions (mu_pp).
Set default encoding to avoid raising an error from failed assertions (mu_pp).
