moll / node-mitm

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.
Other
640 stars 48 forks source link

Fix for node v7 #39

Closed ehacke closed 8 years ago

ehacke commented 8 years ago

_normalizeConnectArgs was changed to _normalizeArgs in Node v7.

moll commented 8 years ago

Thanks for the fix! Pushed v1.3.2 seconds ago with your fix.