LiveState.TestHelpers (live_state v0.9.0)

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

Functions

assert_state_change(state)

(macro)

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

assert_state_patch(patch)

(macro)

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

send_event(socket, event, payload)

Pushes a live state event over the channel