How to cast properly a mock function with Typescript

后端 未结 0 1591
执笔经年
执笔经年 2021-01-07 02:55

I\'m trying to mock a function and use the benefits from Typescript but I can\'t find the best way to do it. A bit of context, I want to test a class who use a Keycloak inst

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