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

Convenience functions for subscription tests.

Link to this section Summary

Link to this section Functions

Link to this function

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

View Source

Specs

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.