Javascript Node.js Pg Sinon How To Mock Pg Pool With Sinon November 21, 2023 Post a Comment In a previous project I mocked the mysql library with Sinon. I did this like so: X.js: const con =… Read more How To Mock Pg Pool With Sinon