Skip to content

Conversation

joepie91
Copy link

@joepie91 joepie91 commented May 6, 2018

Original bugcase I wrote for this: https://git.cryto.net/joepie91/machina-factory-bugcase

New tests are included. It still doesn't quite behave as I'd expect - namely, it creates a new child FSM for every access attempt, including every child handle operation, while I'd only expect it to create one upon transitioning to the parent state that contains it - but I'm still investigating that as a separate bug.

EDIT: I've also added some cleanup to the event handling tests on the machina object, as the error-throwing callback was interfering with the tests I added. Presumably that issue may reoccur elsewhere as well, if attached events are not reliably removed after they've been tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant