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

"messageParent" can only be used inside a worker #12

Closed
calebeby opened this issue Jan 26, 2021 · 1 comment
Closed

"messageParent" can only be used inside a worker #12

calebeby opened this issue Jan 26, 2021 · 1 comment

Comments

@calebeby
Copy link
Member

I keep running into this error so I'm opening an issue in case anyone else runs into it

This is an issue from Jest: jestjs/jest#10577

It has been fixed in this PR: jestjs/jest#10981 but the fix isn't published on npm yet.

For now, if you restart jest, then the error goes away (at least for a while)

@calebeby
Copy link
Member Author

AFAICT this workaround fixes it: 1482257

The issue was intermittent with jest-circus and consistently reproducible with the jest-jasmine2 runner. With that commit, I no longer reproduce the issue with either runner.

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