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

React modules executed twice? #1278

Closed
angusfretwell opened this issue Jul 10, 2016 · 2 comments
Closed

React modules executed twice? #1278

angusfretwell opened this issue Jul 10, 2016 · 2 comments

Comments

@angusfretwell
Copy link

angusfretwell commented Jul 10, 2016

When testing React components with Jest, I receive Warning: ReactComponentTreeDevtool: Missing React element for debugID 1 when building stack is shown when calling TestUtils.renderIntoDocument. I filed an issue on React, and @gaearon identified that this was caused by Jest executing React modules twice.

Not sure if this is expected behaviour?

See the issue on React for more information and the repo I put together to reproduce the issue: https://github.com/angusfretwell/reproduce-debugid-warning (npm install && npm test).

@cpojer
Copy link
Member

cpojer commented Jul 11, 2016

I'm reopening the React issue, this is not related to Jest.

@cpojer cpojer closed this as completed Jul 27, 2016
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants