Sha256: 63018b1d7e9fb69e023d20c376610d5fe4bce696863d2c1e1fb67ed183d12068

Contents?: true

Size: 496 Bytes

Versions: 5

Compression:

Stored size: 496 Bytes

Contents

require "test_helper"

class DevServerTest < Webpacker::Test
  def test_host
    with_node_env("development") do
      reloaded_config
      assert_equal Webpacker.dev_server.host, "localhost"
    end
  end

  def test_port
    with_node_env("development") do
      reloaded_config
      assert_equal Webpacker.dev_server.port, 3035
    end
  end

  def test_https?
    with_node_env("development") do
      reloaded_config
      assert_equal Webpacker.dev_server.https?, false
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
webpacker-jets-3.2.101 test/dev_server_test.rb
webpacker-jets-3.2.100 test/dev_server_test.rb
webpacker-3.2.0 test/dev_server_test.rb
webpacker-3.1.1 test/dev_server_test.rb
webpacker-3.1.0 test/dev_server_test.rb