Disco v0.1.2 Disco.Testing View Source

Testing helpers.

Link to this section Summary

Functions

Returns an event map to be used in tests

Link to this section Functions

Link to this function build_event(attrs \\ %{}, payload \\ %{}) View Source
build_event(attrs :: map(), payload :: map()) :: event :: map()

Returns an event map to be used in tests.