Socket
Socket
Sign inDemoInstall

api-test

Package Overview
Dependencies
82
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.5.0 to 2.6.0

6

classes/Case.js

@@ -46,2 +46,3 @@ 'use strict'

* @param {string[]} options.ignoredFindKeys
* @param {Buffer} [options.ca]
* @param {function(Case,*)} [options.onPost]

@@ -74,3 +75,6 @@ * @param {function(Case,*)} [options.onOut]

method: 'POST',
json: post
json: post,
agentOptions: {
ca: options.ca
}
}, function (err, res, out) {

@@ -77,0 +81,0 @@ var expected

@@ -42,2 +42,3 @@ 'use strict'

* @param {string[]} options.ignoredFindKeys
* @param {Buffer} [options.ca]
* @param {function(Test,Insertion|Clear|Declaration)} [options.onSetup]

@@ -44,0 +45,0 @@ * @param {function(Test,Case)} [options.onCase]

@@ -23,2 +23,3 @@ /*globals describe, before, it*/

* @param {string[]} [options.ignoredFindKeys=['_id', '__v']]
* @param {Buffer} [options.ca]
* @param {function(string):boolean} [options.filterFile]

@@ -25,0 +26,0 @@ * @param {function(Array<Header|Obj>, Test)} [options.preParse]

2

package.json
{
"name": "api-test",
"version": "2.5.0",
"version": "2.6.0",
"author": "Sitegui <sitegui@sitegui.com.br>",

@@ -5,0 +5,0 @@ "description": "API testing made simple",

@@ -155,2 +155,3 @@ # API Test

* `strict`: (optional) whether the output check should be strict and complain about unexpected keys (default: true)
* `ca`: (optional) CA certificate (useful when using a self-signed certificate in the server)
* `ignoredFindKeys`: (optional) document keys to ignore in finds (default: `['_id', '__v']`)

@@ -157,0 +158,0 @@ * `filterFile`: (optional) a function that will be called for every file and should return true if this file should be parsed

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