-
Notifications
You must be signed in to change notification settings - Fork 103
Fix simulating events on child actors. #326 #348 #347
base: dev
Are you sure you want to change the base?
Fix simulating events on child actors. #326 #348 #347
Conversation
|
@MarianPalkus is attempting to deploy a commit to the Stately Team on Vercel. A member of the Team first needs to authorize it. |
Might be related to #352. |
Could you add an e2e test case for this? It would be way easier to review this with such test case in place |
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/statelyai/xstate-viz/92v7KSAVXHzZ9qNA9TgkeUD91x4p |
Sure, added a test case. I hope it makes sense. |
Might be related #348. |
This PR fixes #326 by searching for child actors when simulating events:
findChildService
tosrc/utils.ts
to recursively search for child service with the targetsessionId
sessionId
of the even to process