Fork me on GitHub
#mount
<
2018-06-22
>
richiardiandrea02:06:24

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

tolitius14:06:44

@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

richiardiandrea16:06:29

@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