pub fn assert_throws(action: impl FnOnce())
Asserts that action panics (ReactiveAssert.Throws): the form of an exception thrown to the caller in the port.
action
ReactiveAssert.Throws