assert_category_not_emitted

Macro assert_category_not_emitted 

Source
macro_rules! assert_category_not_emitted {
    ($actions:expr, $category:expr) => { ... };
}
Expand description

Assert that NO action of a specific category was emitted.

This requires the action type to implement ActionCategory.

§Example

use tui_dispatch::testing::assert_category_not_emitted;

let actions = harness.drain_emitted();
assert_category_not_emitted!(actions, "search");