View Source Absinthe.Phoenix.SubscriptionTest (absinthe_phoenix v2.0.3)

Convenience functions for subscription tests.

Summary

Functions

Link to this function

push_doc(socket, query, opts \\ [])

View Source
@spec push_doc(Phoenix.Socket.t(), String.t(), opts()) :: reference()

A small wrapper around Phoenix.ChannelTest.push/3.

The only option that is used is opts[:variables] - all other options are ignored.