AppRecorder.Test.Assertions.assert_event_recorded

You're seeing just the function assert_event_recorded, go back to AppRecorder.Test.Assertions module for more information.
Link to this function

assert_event_recorded(attrs \\ %{})

View Source

Specs

assert_event_recorded(map() | pos_integer() | nil) :: true

Asserts an event is created

It can be used as below:

Examples:

assert_event_recorded()
assert_event_recorded(%{resource_id: "id")
Link to this function

assert_event_recorded(expected_count, attrs)

View Source

Specs

assert_event_recorded(integer(), map()) :: true