0

how to unit test the following code

<input type="file " accet="image/*"/>

using jasmine and enzyme

i have refereed this link but here they have a plain text file, i want to test image file how to test image file,instead of simple text file as in the above link

in The above referenced link they created a text file, if anyone has a solution how create a image file using blob api then my problem would be solved

Shiva Sai
  • 463
  • 4
  • 12

0 Answers0