They were also asking about async state. Say I want to test if an async function times out - say the promise throws or rejects, is my promise the state?
I would say says yes, but the should have have two states - one is conn
and one is async-fn-using-conn
?
Again, my guts says yes - also reading this issue now:https://github.com/tolitius/mount/issues/84
@richiardiandrea 1. dependency graph: https://github.com/tolitius/mount/issues/12#issuecomment-167150505 2. "test if an async function times out": need a bit more context, i.e. why do you need mount to test an async function
@tolitius will come up with an example soon, but basically I have a postgres client with a .connect
method that I would like to test