expectCommandInterrupted<A extends Object, E extends Object> function

EffectCommandInterrupted<A, E> expectCommandInterrupted<A extends Object, E extends Object>(
  1. EffectCommandState<A, E> state
)

Implementation

EffectCommandInterrupted<A, E> expectCommandInterrupted<
  A extends Object,
  E extends Object
>(EffectCommandState<A, E> state) {
  if (state is EffectCommandInterrupted<A, E>) return state;
  throw EffectCommandTestExpectationException(
    expected: 'EffectCommandInterrupted<$A, $E>',
    actual: state,
  );
}