How to test a fuction with a multiple fetches?

前端 未结 0 1189
悲哀的现实
悲哀的现实 2020-12-14 04:42

I have function which uses fetch and I need to test them. This function gets json from two fetches and returns a html code.

export async function generateItem         


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