Absinthe.Phoenix.SubscriptionTest (absinthe_phoenix v2.0.4)

View Source

Convenience functions for subscription tests.

Summary

Functions

join_absinthe(socket)

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

@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.