mobx-state-tree icon indicating copy to clipboard operation
mobx-state-tree copied to clipboard

Can't mock action invoked by another action

Open garrettg123 opened this issue 5 years ago • 0 comments

Bug report

  • [X] I've checked documentation and searched for existing issues
  • [X] I've made sure my project is based on the latest MST version
  • [X] Fork this code sandbox or another minimal reproduction.

Sandbox link or minimal reproduction code

https://codesandbox.io/s/mobx-state-tree-todolist-forked-00045?file=/tests/index.test.js:0-260

Describe the expected behavior

The mocked action should be invoked by the parent action in the test.

Describe the observed behavior

The mocked action isn't invoked.

garrettg123 avatar Sep 03 '20 21:09 garrettg123