How to mock AWS.STS/AWS.SecretsManager call using jest?

后端 未结 0 1883
-上瘾入骨i
-上瘾入骨i 2021-01-28 05:13

I have a class that assumes role and execute a get secret value from secrets manager. What is the proper way to test get() function mocking AWS sdk??

const { STS,         


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