Replies: 1 comment 1 reply
-
Found this in an issue marked as enhancement, as I found both that issue and this discussion at different times and they aren't linked thought I'd leave a comment. Looks like David prefers API 1 😆 #824 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
In the current
@xstate/test
version (0.4.1
), when defining the event test config, at the moment,cases
can be an array of event data.Feature request
It would be convenient to be able to access the
testContext
the same way it's possible today when defining the eventexec
functionAdditional context
Ideally we would be able to do something like in the below code snippet
Beta Was this translation helpful? Give feedback.
All reactions