LiveState.TestHelpers (live_state v0.8.2)

Link to this section Summary

Functions

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

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

Pushes a live state event over the channel

Link to this section Functions

Link to this macro

assert_state_change(state)

(macro)

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

Link to this macro

assert_state_patch(patch)

(macro)

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

Link to this function

send_event(socket, event, payload)

Pushes a live state event over the channel