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

Enzyme Internal Error: unknown node with tag x #2347

Open
2 of 13 tasks
Anupheaus opened this issue Mar 1, 2020 · 1 comment
Open
2 of 13 tasks

Enzyme Internal Error: unknown node with tag x #2347

Anupheaus opened this issue Mar 1, 2020 · 1 comment

Comments

@Anupheaus
Copy link

As per the comment here (#1875 (comment)) I'm still getting the issue with the latest version of enzyme, react adapter and the exact same minor versions of react, react-dom and react-test-renderer.

Current behavior

Tests where components are created using memo fail with the error given in the title (where x is a number).

Expected behavior

Tests should not fail with this error.

Your environment

Windows 10
VS-Code v1.42.1

API

  • shallow
  • mount
  • render

Version

library version
enzyme 3.11.0
react 16.13.0
react-dom 16.13.0
react-test-renderer 16.13.0
adapter (below) 1.7.2

Adapter

  • enzyme-adapter-react-16
  • enzyme-adapter-react-16.3
  • enzyme-adapter-react-16.2
  • enzyme-adapter-react-16.1
  • enzyme-adapter-react-15
  • enzyme-adapter-react-15.4
  • enzyme-adapter-react-14
  • enzyme-adapter-react-13
  • enzyme-adapter-react-helper
  • others ( )
@ljharb
Copy link
Member

ljharb commented Mar 1, 2020

Which exact number is "x" here? Do you have example code that produces this error?

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

No branches or pull requests

2 participants