How to change jest.mock value for different tests when mocked class is a dependency on on the SUT?

前端 未结 0 1271
慢半拍i
慢半拍i 2021-01-03 10:16

I am testing a class DogService.ts. But DogService has a private dependency called CatService that gets new\'ed up in the

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