Skip to content
This repository was archived by the owner on Aug 6, 2019. It is now read-only.
This repository was archived by the owner on Aug 6, 2019. It is now read-only.

Enzyme Internal Error: unknown node with tag 14 #132

Closed

Description

@karolisgrinkevicius

Getting Enzyme Internal Error: unknown node with tag 14 where mount is used on cloned element node. For instance:

...
 mount(React.cloneElement(node))
...

Works fine on version 4.

Activity

  1. guidosreis commented on Jul 21, 2018

    @guidosreis

    I'm facing the same issue.
    Did you find out a solution? Or simply downgraded to version 4?

  2. karolisgrinkevicius commented on Jul 21, 2018

    @karolisgrinkevicius
    Author

    I personally downgraded to 4 while this is being fixed.

  3. guidosreis commented on Jul 23, 2018

    @guidosreis

    @karolisgrinkevicius I did the same, thank you!

  4. bchenSyd commented on Aug 16, 2018

    @bchenSyd

    got the same issue today. shallow is fine

    import {mount} from 'enzyme';
    import {Box } from 'grid-styled';
    mount(<Box/>) ;// unknown node with tag 14
  5. karolisgrinkevicius commented on Aug 22, 2018

    @karolisgrinkevicius
    Author

    Is there any progress on this?

  6. ericberens commented on Aug 23, 2018

    @ericberens
  7. karolisgrinkevicius commented on Aug 23, 2018

    @karolisgrinkevicius
    Author

    Still getting the same issue Enzyme Internal Error: unknown node with tag 14 with the following dependencies:

    ├─ enzyme@3.4.4
    ├─ grid-styled@5.0.2
    ├─ styled-components@3.3.3
    └─ styled-system@3.0.2
    
  8. ericberens commented on Aug 23, 2018

    @ericberens

    New versions of

    enzyme-adapter-react-16
    enzyme-adapter-react-16.3
    enzyme-adapter-react-16.2
    enzyme-adapter-react-16.1
    

    need to be released to npm before this will work again.

  9. karolisgrinkevicius commented on Aug 23, 2018

    @karolisgrinkevicius
    Author

    @ericberens thanks, waiting forward for the release to be happened.

  10. karolisgrinkevicius commented on Aug 30, 2018

    @karolisgrinkevicius
    Author

    enzyme-adapter-react-16 v1.3.0 has fixed an error. Closing the issue.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions