-
Notifications
You must be signed in to change notification settings - Fork 185
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
Can't test using testing library #157
Comments
I'm having the same problem, any solutions? |
@easynowbaby I believe this is a limitation of the jest testing environment (assuming that what your using) jsdom/jsdom#1721 which does not implement these methods. I did a small work around like so
however I also am noticing some other errors |
I solved the
I used HTMLDivElement because I spread my dropzoneProps over div element :
|
I want to test a upload response using react dropzone upload and testing-library, but i can't. When i try to use userEvent.upload, react dropzone breaks.
Open Proposal - Upload Files › test document upload success for holerite
The text was updated successfully, but these errors were encountered: