How to jest.fn().mockResolvedValue with params.toUpperCase()? Getting TypeError: Cannot read property 'toUpperCase' of undefined

前端 未结 0 661
北荒
北荒 2020-12-16 21:32

What\'s up SO,

I\'ve got a function like below that I\'m having a hard time writing the test for...

const checkout = async (nonce, draft, applicationId         


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