Node.JS: Mocking Mysql with Sinon.JS This is an example to got with our blog post Mocking Mysql queries with Sinon.JS. Testing it out. git clone https://github.com/spry-group/blog-mocking-mysql-with-sinon cd blog-mocking-mysql-with-sinon npm install npm test