Intercept and mock outgoing Node.js network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.IncomingMessage and Http.ServerResponse to test and respond with. Super useful when testing code that hits remote servers.
Hi @moll so I finally figured out why I needed https://github.com/moll/node-mitm/pull/28 (somehow).
The file I added to this PR will fail on node >= 0.12