ponelat/xmock

Allow simulating network errors, such as ECONNREFUSED

Opened this issue · 0 comments

It would be great to simulate network errors ( host unreachable, socket timeout, etc).
Can this be done in a way that works for both browsers and node?