Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jest test - error with react-automata #92

Open
smuller97 opened this issue Dec 20, 2019 · 0 comments
Open

Jest test - error with react-automata #92

smuller97 opened this issue Dec 20, 2019 · 0 comments

Comments

@smuller97
Copy link

Hi there,
I'm currently working on testing my react component where I use react-automata. When I run the test it keeps breaking. The goal is to test my Lights component. I'm using the test function from react-automata called "testStateMachine" because I use a statemachine to run the steps of light switching on a button click.

Here is my code example: https://codesandbox.io/s/statemachine-test-sj3w7

Best regards
Kristine

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

No branches or pull requests

1 participant