Jest mocking a mongodb record in a service

前端 未结 0 1485
太阳男子
太阳男子 2020-12-30 05:47

I\'m trying to test a service in Nestjs which is responsible for getting one record out of a mongo database, using Jest.

As per common convention, when writing unit t

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