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
I'm submitting a…
Expected Behavior
testActionSnapshot should unpack all the actions recursively
react-redux-test-utils/src/unit-test-helpers.js
Line 121 in 2a30775
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