wait method

Future<TestInfo<St>> wait(
  1. Type actionType
)

Expects one action of the given type to be dispatched, and waits until it finishes. Returns the info after the action finishes. Will fail with an exception if an unexpected action is seen.

Implementation

Future<TestInfo<St>> wait(Type actionType) async => //
    waitAllGetLast([actionType]);