Home
 
  

sinon-mongo

January 29, 2019

An extension for the sinon.js mocking library. It makes easier to write unit tests for code that uses the MongoDB Node.js driver, allowing you to create stubs and spys for the client, db and collection objects.

Install with npm i -D sinon-mogo. Read more in KaizenDorks.

DaniJG/sinon-mongo - GitHub

 

© 2022