View on GitHub
Asserts the channel has not pushed a message to the client
matching the given event and payload within `timeout`.
Like `assert_push`, the event and payload are patterns.
The timeout is in milliseconds and defaults to the `:refute_receive_timeout`
set on the `:ex_unit` application (which defaults to 100ms).
Keep in mind this macro will block the test by the
timeout value, so use it only when necessary as overuse
will certainly slow down your test suite.
- Describe the parameter "payload".
- Describe the parameter "event".
- Add a code example (optional).