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
636
stars
48
forks
source link
Set the 'encrypted' property to true on TLS sockets. #12
Fixes #10.