node-redshift
node-redshift copied to clipboard
How to stub/mock this node-redshift package?
I need to write jest unit test cases for this node-redshift package... Can you help me with a sample implementation of mocking/stubbing node-redshift ?
I'm also interested in this. I started looking at pg-mem, but it doesn't handle networking (like, say mongodb-memory-server does), so I can't test my application gracefully handling network issues. Anyone have any experience on that?