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 testing library can't expect react-infinite-scroll-component is a react component #371

Open
ibrahemahmad opened this issue Jan 25, 2023 · 0 comments

Comments

@ibrahemahmad
Copy link

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 ?

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

No branches or pull requests

1 participant