I'm currently trying to write a test to verify that the image cropped is saved for this custom ImageUpload component, which implements Domonic Tobias’s React Image Crop. I’ve run into an issue that when the file is uploaded to the img tag, the image element’s height and width are both zero, even-though src value is correct. This only occurs when the running the test, the values are correct when running the application.
forked from testing-library/react-testing-library-help
-
Notifications
You must be signed in to change notification settings - Fork 0
...
abdimoussa98/testing-image-upload
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
...
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- TypeScript 79.7%
- HTML 13.3%
- JavaScript 7.0%