timbuckley/redux-saga-test-engine

TODO: Handle array of PUT effects

Closed this issue · 0 comments

Sometimes an array of PUT effects may be yielded. The test engine should treat it identically to a single PUT in terms of the the final returned puts array.

Example

yield [
  put(actionOne()),
  put(actionTwo())
]

Also, a single array of puts, selects, calls, etc may be yielded at once. Must consider how best to handle this event.

yield [
  put(actionOne()),
  select(something),
  call(somethingElse),
  put(actionTwo())
]