defmodule WhoNeedHelpWeb.RouterBoundaryTest do
  use ExUnit.Case, async: true

  test "E2E-only routes are absent outside an E2E-compiled release" do
    route_paths = MapSet.new(WhoNeedHelpWeb.Router.__routes__(), & &1.path)

    refute MapSet.member?(route_paths, "/__e2e__/map-tile.png")
    refute MapSet.member?(route_paths, "/__e2e__/crash-node")
  end
end
