Socket
Socket
Sign inDemoInstall

assert-request

Package Overview
Dependencies
51
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "assert-request",
"version": "1.0.0",
"version": "1.0.1",
"description": "Assert responses to HTTP requests",

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

@@ -26,8 +26,6 @@ # Assert Request

it('should return the correct JSON', function () {
return request('/api', function () {
return request.post('/api')
.type('application/json')
.status(200)
.json(json => json.foo && json.bar);
});
return request.post('/api')
.type('application/json')
.status(200)
.json(json => json.foo && json.bar);
});

@@ -34,0 +32,0 @@ });

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