I'm submitting a…
Expected Behavior
testActionSnapshot should unpack all the actions recursively
|
expect(dispatch.mock.calls).toMatchSnapshot(); |
one of the calls could be also a function and should be called again
results in snapshot containing this:
Array [ [Function], ],
Steps to Reproduce (for bugs)
have a few actions that call more actions using dispatch