Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mocking #92

Open
Lewiscowles1986 opened this issue Aug 3, 2020 · 0 comments
Open

Mocking #92

Lewiscowles1986 opened this issue Aug 3, 2020 · 0 comments

Comments

@Lewiscowles1986
Copy link

Lewiscowles1986 commented Aug 3, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant