absinthe_phoenix v2.0.1 Absinthe.Phoenix.SubscriptionTest

Convenience functions for subscription tests

Link to this section Summary

Link to this section Functions

Link to this function

join_absinthe(socket)

Link to this function

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

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.