Comparing version 2.5.0 to 2.6.0
@@ -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] |
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67437
1966
215