Socket
Socket
Sign inDemoInstall

sinon-express-mock

Package Overview
Dependencies
13
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.5 to 2.1.0

3

lib/index.js

@@ -63,4 +63,5 @@ 'use strict';

vary: _sinon2.default.stub().returns(ret),
write: _sinon2.default.stub().returns(ret)
write: _sinon2.default.stub().returns(ret),
writeHead: _sinon2.default.stub().returns(ret)
}, options);
};
{
"name": "sinon-express-mock",
"version": "2.0.5",
"version": "2.1.0",
"description": "Simple request and response mock objects to pass into Express routes when testing using Sinon.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -49,3 +49,4 @@ import sinon from 'sinon'

write: sinon.stub().returns(ret),
writeHead: sinon.stub().returns(ret),
}, options)
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc