Hoe to write unit test case for uploadFiles method using jest?

后端 未结 0 1361
忘了有多久
忘了有多久 2020-12-16 11:58

i am trying to write unit test case for uploadFiles() method. This method returns function so i have to check toHaveBeenCalledWith(\'files\', 5). I

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