Mocking functions for an API wrapper with Jest (with codesandbox example)

前端 未结 0 1772
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-30 15:21

I\'m having trouble coming up with the setup for mocking a library we have that exposes a ton of functions that wrap our API calls for each for different consumers. My issue is

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