Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

supertest-session

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

supertest-session - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

3

index.js

@@ -22,2 +22,5 @@ var assign = require('object-assign'),

app = http.createServer(app);
}
if (app instanceof http.Server) {
url = supertest.Test.prototype.serverAddress(app, '/');

@@ -24,0 +27,0 @@ }

2

package.json
{
"name": "supertest-session",
"version": "3.1.1",
"version": "3.1.2",
"description": "Cookie-based session persistence for Supertest",

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

@@ -87,2 +87,15 @@ var assert = require('assert'),

});
describe('(#30) requesting URL of instantiated app', function () {
it('behaves correctly', function (done) {
var server = http.createServer(app);
var sess = session(server);
sess
.get('/')
.expect(200)
.expect('GET,,1')
.end(done);
});
});
});

@@ -89,0 +102,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc