Skip to content

TypeError: parentInstance.children.indexOf is not a function #553

Closed
@vietnogi

Description

@vietnogi

Summary:

Getting TypeError: parentInstance.children.indexOf is not a function error when using react-test-renderer to write tests.

Steps to reproduce:

  1. Use react-test-renderer to create a react-modal
  2. Use jest to run test
  3. Get error

Expected behavior:

No error

Link to example of issue:

enzymejs/enzyme#1150

Additional notes:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions