345 B · text History 18ced42
defmodule LambentExWeb.ChannelCase do
  @moduledoc """
  Test case for the channels behind `LambentExWeb.UserSocket`.
  """

  use ExUnit.CaseTemplate

  using do
    quote do
      # The default endpoint for testing
      @endpoint LambentExWeb.Endpoint

      import Phoenix.ChannelTest
      import LambentExWeb.ChannelCase
    end
  end
end