Phoenix.ChannelTest.socket/1

Parsed documentation:
View on GitHub
Builds a socket for the given `socket_module`.

The socket is then used to subscribe and join channels.
Use this function when you want to create a blank socket
to pass to functions like `UserSocket.connect/3`.

Otherwise, use `socket/3` if you want to build a socket with
existing id and assigns.

## Examples

    socket(MyApp.UserSocket)
No suggestions.
Please help! Open an issue on GitHub if this assessment is incorrect.