How to mock multiple values from a mocked module?

后端 未结 0 1118
失恋的感觉
失恋的感觉 2020-12-01 05:10

I am trying to mock the module \'jwt-decode\' and I can successfully mock one return value using the following:

 jest.mock(\'jwt-decode\', () => () => (         


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