Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pg

Pg Client.query() Does Not Wait At The Await

I am don't understand why the await in front of a pg client request does not seem to work as th… Read more Pg Client.query() Does Not Wait At The Await

How To Mock Pg Pool With Sinon

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