View Source Synq.TestHelpers (synq v0.2.0)

Summary

Functions

Asserts that synq:change message is received over a channel matching the specified pattern

Asserts that synq:patch message is received over a channel matching the specified pattern

Pushes a live state event over the channel

Functions

Link to this macro

assert_state_change(state)

View Source (macro)

Asserts that synq:change message is received over a channel matching the specified pattern

Link to this macro

assert_state_patch(patch)

View Source (macro)

Asserts that synq:patch message is received over a channel matching the specified pattern

Link to this function

send_event(socket, event, payload)

View Source

Pushes a live state event over the channel