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

supertest

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

supertest - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

5

History.md
0.4.1 / 2012-11-14
==================
* update superagent
0.4.0 / 2012-10-18

@@ -3,0 +8,0 @@ ==================

4

package.json
{
"name": "supertest",
"version": "0.4.0",
"version": "0.4.1",
"description": "Super-agent driven library for testing HTTP servers",

@@ -10,3 +10,3 @@ "main": "index.js",

"dependencies": {
"superagent": "0.9.5",
"superagent": "0.9.10",
"methods": "0.0.1"

@@ -13,0 +13,0 @@ },

@@ -81,2 +81,17 @@ # SuperTest

When using supertest with a url instead of passing a server or "app",
you may bind the initial value to prevent redundancy:
```js
request = request.bind(request, 'http://localhost:5555');
request.get('/').expect(200, function(err){
console.log(err);
});
request.get('/').expect('heya', function(err){
console.log(err);
});
```
## API

@@ -83,0 +98,0 @@

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