How to insert real File object to function in React unit tests

后端 未结 0 394
甜味超标
甜味超标 2021-01-26 10:14

I have a function that accepts File object as input parameter. Normally function gets it from form element, where user selects file.

Function co

相关标签:
回答
  • 消灭零回复
提交回复
热议问题