You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed these docs miss completely mocking the API & testing.
Due to the import / require time setup a lot of the examples give, this made me scratch my head a bit when using proxyquire to patch pg module import.
I've managed to get some bits working and wondered if it was worth documenting, or if the project goals require the standing up of a network service (postgres) when testing this module.
Either way it would be nice to get some docs and as I'm having a play at the moment, I wanted to know if you'd be open to a PR
The text was updated successfully, but these errors were encountered:
I noticed these docs miss completely mocking the API & testing.
Due to the import / require time setup a lot of the examples give, this made me scratch my head a bit when using proxyquire to patch
pg
module import.I've managed to get some bits working and wondered if it was worth documenting, or if the project goals require the standing up of a network service (postgres) when testing this module.
Either way it would be nice to get some docs and as I'm having a play at the moment, I wanted to know if you'd be open to a PR
The text was updated successfully, but these errors were encountered: