Skip to content

feat - testActionSnapshot should unpack all the actions recursively  #3

Description

@MariaAga

I'm submitting a…

  • Regression (a behavior that used to work and stopped working in a new release)
  • Bug report
  • Feature request
  • Documentation issue or request
  • Support request

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions