How to stub/ mock browse button[ input type="file" ] handler to upload Image .

9 views
Skip to first unread message

anurag gautam

unread,
Sep 22, 2017, 11:39:59 AM9/22/17
to Sinon.JS
Hi Group ,

I am looking for some help to write test case for upload an image event thru 

 <input type="file" name="file" accept="image/*" id="fileUpload">.

could you please share ur ideas over this .
Reply all
Reply to author
Forward
0 new messages