What is the best approach to mock / stub Rethinkdb in order to unit test my DAO's with NodeJS? I have tried some approaches with Sinon and Proxyquire but I got stuck on the connection object.
Examples are welcome.
Cheers,
Gyo
via Gyowanny Pessatto Queiroz
No comments:
Post a Comment