feat: Created a mini nodeJS server with NewMan for testing without PostMan GUI.

This will mimic a run in a CD/CI environment or docker container.
This commit is contained in:
Simon Priet
2021-09-08 14:01:19 +02:00
parent 5fbd7c88fa
commit e69a613a37
5610 changed files with 740417 additions and 3 deletions

20
node_modules/underscore/cjs/isEmpty.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
var isArray = require('./isArray.js');
var keys = require('./keys.js');
var _getLength = require('./_getLength.js');
var isArguments = require('./isArguments.js');
var isString = require('./isString.js');
// Is a given array, string, or object empty?
// An "empty" object has no enumerable own-properties.
function isEmpty(obj) {
if (obj == null) return true;
// Skip the more expensive `toString`-based type checks if `obj` has no
// `.length`.
var length = _getLength(obj);
if (typeof length == 'number' && (
isArray(obj) || isString(obj) || isArguments(obj)
)) return length === 0;
return _getLength(keys(obj)) === 0;
}
module.exports = isEmpty;