I have application code that verifies response.connection.remoteAddress isn't a local IP, but when using nock response.connection is just an EventEmitter instance with no remoteAddress property. How do I modify response that nock creates?
response.connection.remoteAddress
response.connection
remoteAddress
Aucun commentaire:
Enregistrer un commentaire