How do I mock js-cookie and jwt-decode to update it's value based on the test

前端 未结 0 1296
北恋
北恋 2021-01-21 07:39

I\'m trying to test a function that calls js-cookie to retrieve info from the Cookies and then try to decode it if that value exists. I want to update the value of the cookie ba

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