How do i mock this function in jest

后端 未结 0 794
旧时难觅i
旧时难觅i 2020-12-03 13:36

How to mock Injected Mongoose Model. I tried sinon stuffing but it fails to solve the issue . Can anyone Help me with it

@Inject(Document)
private Document: M         


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