Skip to content

React testing library can't expect react-infinite-scroll-component is a react component #371

Open

Description

@ibrahemahmad

Hi there,
I try to writing unit test for my component when I use react-infinite-scroll-component in side it, react testing library give me an error Element type is invalid: expected a string (for built-in components), that's block me for testing my component, how can I test this package and cover most cases ?

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions