mount

richiardiandrea 2018-06-22T02:48:24.000134Z

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

tolitius 2018-06-22T14:00:44.000155Z

@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

richiardiandrea 2018-06-22T16:17:29.000605Z

@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