I should run tests on node+express+mongoose+swagger app without mongodb, I need module to mock mongoose (only for tests). I tried mock-mongoose and mockgoose, but I had errors :( Maybe I failed.. or this modules can't help me I hope for your ideas!
I created example skeleton: https://github.com/miroslav-grabinskiy/swagger-server-mock-tested
I need to mock only in tests, and I don't need to test mongoose, like a:
Model.find()
I need test api (routes) like in link
P.S. mock-mongoose not working with promises :(