Comparing version 2.11.5 to 2.12.0
@@ -9,2 +9,4 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
const http = require('http'); | ||
const path = require('path'); | ||
@@ -22,6 +24,11 @@ | ||
const { | ||
buildKey, | ||
tryParseJson, | ||
convertHeaders | ||
} = require('./request-recorder/util'); | ||
const nockBack = nock.back; | ||
const nockRecorder = nock.recorder; | ||
const buildKey = interceptor => `${interceptor.method} ${interceptor.basePath}${interceptor.uri}`; | ||
module.exports = opts => { | ||
@@ -77,2 +84,32 @@ Joi.assert(opts, Joi.object().keys({ | ||
assert(hasCassette === true); | ||
if (anyFlagPresent(['magic', 'record'])) { | ||
expectedCassette.push(async () => { | ||
nockRecorder.rec({ | ||
output_objects: true, | ||
dont_print: true, | ||
enable_reqheaders_recording: false | ||
}); | ||
await new Promise(resolve => { | ||
const r = http.request(req, response => { | ||
response.on('data', () => {}); | ||
response.on('end', resolve); | ||
}); | ||
r.write(body); | ||
r.end(); | ||
}); | ||
const recorded = nockRecorder.play(); | ||
nockRecorder.clear(); | ||
return recorded.map(record => Object.assign(record, { | ||
headers: opts.stripHeaders === true ? undefined : convertHeaders(record.rawHeaders), | ||
rawHeaders: undefined | ||
})); | ||
}); | ||
} | ||
if (!anyFlagPresent(['magic', 'prune'])) { | ||
expectedCassette.push(...pendingMocks.map(({ | ||
record | ||
}) => record)); | ||
} | ||
}); | ||
@@ -86,10 +123,3 @@ nockDone = await new Promise(resolve => nockBack(cassetteFile, { | ||
const idx = pendingMocks.findIndex(m => m.idx === scopeIdx); | ||
let requestBody = body; | ||
try { | ||
requestBody = JSON.parse(requestBody); | ||
} catch (e) { | ||
/* */ | ||
} | ||
const requestBody = tryParseJson(body); | ||
pendingMocks[idx].record.body = requestBody === null ? 'null' : requestBody; | ||
@@ -120,11 +150,4 @@ return scope.body; | ||
if (anyFlagPresent(['magic', 'response'])) { | ||
let responseBody = [healSqsSendMessageBatch].reduce((respBody, fn) => fn(requestBodyString, respBody, scope), interceptor.body); | ||
const responseBody = tryParseJson([healSqsSendMessageBatch].reduce((respBody, fn) => fn(requestBodyString, respBody, scope), interceptor.body)); // eslint-disable-next-line no-param-reassign | ||
try { | ||
responseBody = JSON.parse(responseBody); | ||
} catch (e) {} | ||
/* */ | ||
// eslint-disable-next-line no-param-reassign | ||
interceptor.body = responseBody; | ||
@@ -151,4 +174,13 @@ pendingMocks[idx].record.response = responseBody; | ||
}, | ||
release: () => { | ||
release: async () => { | ||
assert(nockDone !== null); | ||
for (let idx = 0; idx < expectedCassette.length; idx += 1) { | ||
if (typeof expectedCassette[idx] === 'function') { | ||
// eslint-disable-next-line no-await-in-loop | ||
expectedCassette.splice(idx, 1, ...(await expectedCassette[idx]())); | ||
idx -= 1; | ||
} | ||
} | ||
nockDone(); | ||
@@ -190,2 +222,2 @@ nockDone = null; | ||
}; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9tb2R1bGVzL3JlcXVlc3QtcmVjb3JkZXIuanMiXSwibmFtZXMiOlsiYXNzZXJ0IiwicmVxdWlyZSIsInBhdGgiLCJmcyIsIkpvaSIsIm5vY2siLCJub2NrTGlzdGVuZXIiLCJoZWFsU3FzU2VuZE1lc3NhZ2VCYXRjaCIsIm5vY2tCYWNrIiwiYmFjayIsImJ1aWxkS2V5IiwiaW50ZXJjZXB0b3IiLCJtZXRob2QiLCJiYXNlUGF0aCIsInVyaSIsIm1vZHVsZSIsImV4cG9ydHMiLCJvcHRzIiwib2JqZWN0Iiwia2V5cyIsImNhc3NldHRlRm9sZGVyIiwic3RyaW5nIiwic3RyaXBIZWFkZXJzIiwiYm9vbGVhbiIsInN0cmljdCIsImhlYWwiLCJhbHRlcm5h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gICAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBuby1wYXJhbS1yZWFzc2lnblxuICAgICAgICAgIHNjb3BlLmZpbHRlcmluZ1JlcXVlc3RCb2R5ID0gKGJvZHkpID0+IHtcbiAgICAgICAgICAgIGlmIChhbnlGbGFnUHJlc2VudChbJ21hZ2ljJywgJ2JvZHknXSkpIHtcbiAgICAgICAgICAgICAgY29uc3QgaWR4ID0gcGVuZGluZ01vY2tzLmZpbmRJbmRleCgobSkgPT4gbS5pZHggPT09IHNjb3BlSWR4KTtcbiAgICAgICAgICAgICAgbGV0IHJlcXVlc3RCb2R5ID0gYm9keTtcbiAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICByZXF1ZXN0Qm9keSA9IEpTT04ucGFyc2UocmVxdWVzdEJvZHkpO1xuICAgICAgICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICAgICAgLyogKi9cbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICBwZW5kaW5nTW9ja3NbaWR4XS5yZWNvcmQuYm9keSA9IHJlcXVlc3RCb2R5ID09PSBudWxsID8gJ251bGwnIDogcmVxdWVzdEJvZHk7XG4gICAgICAgICAgICAgIHJldHVybiBzY29wZS5ib2R5O1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIGJvZHk7XG4gICAgICAgICAgfTtcbiAgICAgICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tcGFyYW0tcmVhc3NpZ25cbiAgICAgICAgICBzY29wZS5maWx0ZXJpbmdQYXRoID0gKHJlcXVlc3RQYXRoKSA9PiB7XG4gICAgICAgICAgICBpZiAoYW55RmxhZ1ByZXNlbnQoWydtYWdpYycsICdwYXRoJ10pKSB7XG4gICAgICAgICAgICAgIGNvbnN0IGlkeCA9IHBlbmRpbmdNb2Nrcy5maW5kSW5kZXgoKG0pID0+IG0uaWR4ID09PSBzY29wZUlkeCk7XG4gICAgICAgICAgICAgIHBlbmRpbmdNb2Nrc1tpZHhdLnJlY29yZC5wYXRoID0gcmVxdWVzdFBhdGg7XG4gICAgICAgICAgICAgIHJldHVybiBzY29wZS5wYXRoO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIHJlcXVlc3RQYXRoO1xuICAgICAgICAgIH07XG4gICAgICAgICAgcmV0dXJuIHNjb3BlO1xuICAgICAgICB9LFxuICAgICAgICBhZnRlcjogKHNjb3BlLCBzY29wZUlkeCkgPT4ge1xuICAgICAgICAgIHNjb3BlLm9uKCdyZXF1ZXN0JywgKHJlcSwgaW50ZXJjZXB0b3IsIHJlcXVlc3RCb2R5U3RyaW5nKSA9PiB7XG4gICAgICAgICAgICBjb25zdCBpZHggPSBwZW5kaW5nTW9ja3MuZmluZEluZGV4KChlKSA9PiBlLmlkeCA9PT0gc2NvcGVJZHgpO1xuXG4gICAgICAgICAgICBpZiAoYW55RmxhZ1ByZXNlbnQoWydtYWdpYycsICdyZXNwb25zZSddKSkge1xuICAgICAgICAgICAgICBsZXQgcmVzcG9uc2VCb2R5ID0gW1xuICAgICAgICAgICAgICAgIGhlYWxTcXNTZW5kTWVzc2FnZUJhdGNoXG4gICAgICAgICAgICAgIF0ucmVkdWNlKFxuICAgICAgICAgICAgICAgIChyZXNwQm9keSwgZm4pID0+IGZuKHJlcXVlc3RCb2R5U3RyaW5nLCByZXNwQm9keSwgc2NvcGUpLFxuICAgICAgICAgICAgICAgIGludGVyY2VwdG9yLmJvZHlcbiAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICByZXNwb25zZUJvZHkgPSBKU09OLnBhcnNlKHJlc3BvbnNlQm9keSk7XG4gICAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgICAgICAgICAgICAvKiAqL1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBuby1wYXJ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W5nTW9ja3MucHVzaCguLi5ub2NrXG4gICAgICAgICAgLmRlZmluZShjYXNzZXR0ZUNvbnRlbnQpXG4gICAgICAgICAgLm1hcCgoZSwgaWR4KSA9PiAoe1xuICAgICAgICAgICAgaWR4LFxuICAgICAgICAgICAga2V5OiBidWlsZEtleShlLmludGVyY2VwdG9yc1swXSksXG4gICAgICAgICAgICByZWNvcmQ6IGNhc3NldHRlQ29udGVudFtpZHhdXG4gICAgICAgICAgfSkpKTtcbiAgICAgIH1cblxuICAgICAgbm9ja0JhY2suc2V0TW9kZShoYXNDYXNzZXR0ZSA/ICdsb2NrZG93bicgOiAncmVjb3JkJyk7XG4gICAgICBub2NrQmFjay5maXh0dXJlcyA9IG9wdHMuY2Fzc2V0dGVGb2xkZXI7XG4gICAgICBub2NrTGlzdGVuZXIuc3Vic2NyaWJlKCdubyBtYXRjaCcsIChfLCByZXEsIGJvZHkpID0+IHtcbiAgICAgICAgYXNzZXJ0KGhhc0Nhc3NldHRlID09PSB0cnVlKTtcbiAgICAgICAgaWYgKGFueUZsYWdQcmVzZW50KFsnbWFnaWMnLCAncmVjb3JkJ10pKSB7XG4gICAgICAgICAgZXhwZWN0ZWRDYXNzZXR0ZS5wdXNoKGFzeW5jICgpID0+IHtcbiAgICAgICAgICAgIG5vY2tSZWNvcmRlci5yZWMoe1xuICAgICAgICAgICAgICBvdXRwdXRfb2JqZWN0czogdHJ1ZSxcbiAgICAgICAgICAgICAgZG9udF9wcmludDogdHJ1ZSxcbiAgICAgICAgICAgICAgZW5hYmxlX3JlcWhlYWRlcnNfcmVjb3JkaW5nOiBmYWxzZVxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICBhd2FpdCBuZXcgUHJvbWlzZSgocmVzb2x2ZSkgPT4ge1xuICAgICAgICAgICAgICBjb25zdCByID0gaHR0cC5yZXF1ZXN0KHJlcSwgKHJlc3BvbnNlKSA9PiB7XG4gICAgICAgICAgICAgICAgcmVzcG9uc2Uub24oJ2RhdGEnLCAoKSA9PiB7fSk7XG4gICAgICAgICAgICAgICAgcmVzcG9uc2Uub24oJ2VuZCcsIHJlc29sdmUpO1xuICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgci53cml0ZShib2R5KTtcbiAgICAgICAgICAgICAgci5lbmQoKTtcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgY29uc3QgcmVjb3JkZWQgPSBub2NrUmVjb3JkZXIucGxheSgpO1xuICAgICAgICAgICAgbm9ja1JlY29yZGVyLmNsZWFyKCk7XG4gICAgICAgICAgICByZXR1cm4gcmVjb3JkZWQubWFwKChyZWNvcmQpID0+IE9iamVjdC5hc3NpZ24ocmVjb3JkLCB7XG4gICAgICAgICAgICAgIGhlYWRlcnM6IG9wdHMuc3RyaXBIZWFkZXJzID09PSB0cnVlID8gdW5kZWZpbmVkIDogY29udmVydEhlYWRlcnMocmVjb3JkLnJhd0hlYWRlcnMpLFxuICAgICAgICAgICAgICByYXdIZWFkZXJzOiB1bmRlZmluZWRcbiAgICAgICAgICAgIH0pKTtcbiAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgICAgICBpZiAoIWFueUZsYWdQcmVzZW50KFsnbWFnaWMnLCAncHJ1bmUnXSkpIHtcbiAgICAgICAgICBleHBlY3RlZENhc3NldHRlLnB1c2goLi4ucGVuZGluZ01vY2tzLm1hcCgoeyByZWNvcmQgfSkgPT4gcmVjb3JkKSk7XG4gICAgICAgIH1cbiAgICAgIH0pO1xuICAgICAgbm9ja0RvbmUgPSBhd2FpdCBuZXcgUHJvbWlzZSgocmVzb2x2ZSkgPT4gbm9ja0JhY2soY2Fzc2V0dGVGaWxlLCB7XG4gICAgICAgIGJlZm9yZTogKHNjb3BlLCBzY29wZUlkeCkgPT4ge1xuICAgICAgICAgIHJlY29yZHMucHVzaCh7IC4uLnNjb3BlIH0pO1xuICAgICAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBuby1wYXJhbS1yZWFzc2lnblxuICAgICAgICAgIHNjb3BlLmZpbHRlcmluZ1JlcXVlc3RCb2R5ID0gKGJvZHkpID0+IHtcbiAgICAgICAgICAgIGlmIChhbnlGbGFnUHJlc2VudChbJ21hZ2ljJywgJ2JvZHknXSkpIHtcbiAgICAgICAgICAgICAgY29uc3QgaWR4ID0gcGVuZGluZ01vY2tzLmZpbmRJbmRleCgobSkgPT4gbS5pZHggPT09IHNjb3BlSWR4KTtcbiAgICAgICAgICAgICAgY29uc3QgcmVxdWVzdEJvZHkgPSB0cnlQYXJzZUpzb24oYm9keSk7XG4gICAgICAgICAgICAgIHBlbmRpbmdNb2Nrc1tpZHhdLnJlY29yZC5ib2R5ID0gcmVxdWVzdEJvZHkgPT09IG51bGwgPyAnbnVsbCcgOiByZXF1ZXN0Qm9keTtcbiAgICAgICAgICAgICAgcmV0dXJuIHNjb3BlLmJvZHk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gYm9keTtcbiAgICAgICAgICB9O1xuICAgICAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBuby1wYXJhbS1yZWFzc2lnblxuICAgICAgICAgIHNjb3BlLmZpbHRlcmluZ1BhdGggPSAocmVxdWVzdFBhdGgpID0+IHtcbiAgICAgICAgICAgIGlmIChhbnlGbGFnUHJlc2VudChbJ21hZ2ljJywgJ3BhdGgnXSkpIHtcbiAgICAgICAgICAgICAgY29uc3QgaWR4ID0gcGVuZGluZ01vY2tzLmZpbmRJbmRleCgobSkgPT4gbS5pZHggPT09IHNjb3BlSWR4KTtcbiAgICAgICAgICAgICAgcGVuZGluZ01vY2tzW2lkeF0ucmVjb3JkLnBhdGggPSByZXF1ZXN0UGF0aDtcbiAgICAgICAgICAgICAgcmV0dXJuIHNjb3BlLnBhdGg7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gcmVxdWVzdFBhdGg7XG4gICAgICAgICAgfTtcbiAgICAgICAgICByZXR1cm4gc2NvcGU7XG4gICAgICAgIH0sXG4gICA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OiAoKSA9PiAoe1xuICAgICAgcmVjb3JkczogcmVjb3Jkcy5zbGljZSgpLFxuICAgICAgb3V0T2ZPcmRlckVycm9yczogb3V0T2ZPcmRlckVycm9ycy5zbGljZSgpLFxuICAgICAgdW5tYXRjaGVkUmVjb3JkaW5nczogcGVuZGluZ01vY2tzLm1hcCgoZSkgPT4gZS5rZXkpLnNsaWNlKCksXG4gICAgICBleHBlY3RlZENhc3NldHRlOiBleHBlY3RlZENhc3NldHRlLnNsaWNlKCksXG4gICAgICBjYXNzZXR0ZUZpbGVQYXRoXG4gICAgfSlcbiAgfSk7XG59O1xuIl19 |
@@ -247,3 +247,3 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
if (requestRecorder !== null) { | ||
requestRecorder.release(); | ||
await requestRecorder.release(); | ||
} | ||
@@ -299,2 +299,2 @@ | ||
module.exports = desc; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlsL2Rlc2MuanMiXSwibmFtZXMiOlsiYXNzZXJ0IiwicmVxdWlyZSIsInBhdGgiLCJmcyIsImNhbGxzaXRlcyIsImdldCIsIm1pbmltaXN0IiwidG1wIiwiSm9pIiwiUmVxdWVzdFJlY29yZGVyIiwiRW52TWFuYWdlciIsIlRpbWVLZWVwZXIiLCJMb2dSZWNvcmRlciIsIlJhbmRvbVNlZWRlciIsImdldFBhcmVudHMiLCJnZW5DYXNzZXR0ZU5hbWUiLCJtb2NoYSIsIml0Iiwic3BlY2lmeSIsImRlc2NyaWJlIiwiY29udGV4dCIsImJlZm9yZSIsImFmdGVyIiwiYmVmb3JlRWFjaCIsImFmdGVyRWFjaCIsImRlc2MiLCJzdWl0Z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ZGVyID0gUmVxdWVzdFJlY29yZGVyKHtcbiAgICAgICAgICAgICAgY2Fzc2V0dGVGb2xkZXI6IGAke25vY2tGb2xkZXJ9L2AsXG4gICAgICAgICAgICAgIHN0cmlwSGVhZGVyczogZmFsc2UsXG4gICAgICAgICAgICAgIHN0cmljdDogdHJ1ZSxcbiAgICAgICAgICAgICAgaGVhbDogbm9ja0hlYWxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH1cbiAgICAgICAgICBhd2FpdCBiZWZvcmVDYi5jYWxsKHRoaXMpO1xuICAgICAgICB9KSgpO1xuICAgICAgfSk7XG5cbiAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBmdW5jLW5hbWVzXG4gICAgICBtb2NoYS5hZnRlcihmdW5jdGlvbiAoKSB7XG4gICAgICAgIHJldHVybiAoYXN5bmMgKCkgPT4ge1xuICAgICAgICAgIGlmIChyZXF1ZXN0UmVjb3JkZXIgIT09IG51bGwpIHtcbiAgICAgICAgICAgIHJlcXVlc3RSZWNvcmRlci5zaHV0ZG93bigpO1xuICAgICAgICAgICAgcmVxdWVzdFJlY29yZGVyID0gbnVsbDtcbiAgICAgICAgICB9XG4gICAgICAgICAgaWYgKHJhbmRvbVNlZWRlciAhPT0gbnVsbCkge1xuICAgICAgICAgICAgcmFuZG9tU2VlZGVyLnJlbGVhc2UoKTtcbiAgICAgICAgICAgIHJhbmRvbVNlZWRlciA9IG51bGw7XG4gICAgICAgICAgfVxuICAgICAgICAgIGlmICh0aW1lS2VlcGVyICE9PSBudWxsKSB7XG4gICAgICAgICAgICB0aW1lS2VlcGVyLnJlbGVhc2UoKTtcbiAgICAgICAgICAgIHRpbWVLZWVwZXIgPSBudWxsO1xuICAgICAgICAgIH1cbiAgICAgICAgICBpZiAoZW52TWFuYWdlckRlc2MgIT09IG51bGwpIHtcbiAgICAgICAgICAgIGVudk1hbmFnZXJEZXNjLnVuYXBwbHkoKTtcbiAgICAgICAgICAgIGVudk1hbmFnZXJ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lci5pbmplY3QoKTtcbiAgICAgICAgICB9XG4gICAgICAgICAgYXdhaXQgYmVmb3JlRWFjaENiLmNhbGwodGhpcywgZ2V0QXJncygpKTtcbiAgICAgICAgfSkoKTtcbiAgICAgIH0pO1xuXG4gICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZnVuYy1uYW1lc1xuICAgICAgbW9jaGEuYWZ0ZXJFYWNoKGZ1bmN0aW9uICgpIHtcbiAgICAgICAgcmV0dXJuIChhc3luYyAoKSA9PiB7XG4gICAgICAgICAgaWYgKGxvZ1JlY29yZGVyICE9PSBudWxsKSB7XG4gICAgICAgICAgICBsb2dSZWNvcmRlci5yZWxlYXNlKCk7XG4gICAgICAgICAgICBsb2dSZWNvcmRlciA9IG51bGw7XG4gICAgICAgICAgfVxuICAgICAgICAgIGlmIChyZXF1ZXN0UmVjb3JkZXIgIT09IG51bGwpIHtcbiAgICAgICAgICAgIHJlcXVlc3RSZWNvcmRlci5yZWxlYXNlKCk7XG4gICAgICAgICAgfVxuICAgICAgICAgIGlmIChkaXIgIT09IG51bGwpIHtcbiAgICAgICAgICAgIGRpciA9IG51bGw7XG4gICAgICAgICAgfVxuICAgICAgICAgIGF3YWl0IGFmdGVyRWFjaENiLmNhbGwodGhpcywgZ2V0QXJncygpKTtcbiAgICAgICAgfSkoKTtcbiAgICAgIH0pO1xuXG4gICAgICBjb25zdCBnbG9iYWxzUHJldiA9IE9iamVjdC5rZXlzKG1vY2hhKVxuICAgICAgICAucmVkdWNlKChwLCBrZXkpID0+IE9iamVjdC5hc3NpZ24ocCwgeyBba2V5XTogZ2xvYmFsW2tleV0gfSkpO1xuICAgICAgZ2xvYmFsLml0ID0gKHRlc3ROYW1lLCBmbikgPT4gbW9jaGEuaXQoXG4gICAgICAgIHRlc3ROYW1lLFxuICAgICAgICBmbi5sZW5ndGggPT09IDAgfHwgL15bXig9XSpcXCh7Ly50ZXN0KGZuLnRvU3RyaW5nKCkpXG4gICAgICAgICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGZ1bmMtbmFtZXNcbiAgICAgICAgICA/IGZ1bmN0aW9uICgpIHtcbiAgICAgICAgICAgIHJldHVybiBmbi5jYWxsKHRoaXMsIGdldEFyZ3MoKSk7XG4gICAgICAgICAgfVxuICAgICAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBmdW5jLW5hbWVzXG4gICAgICAgICAgOiBmdW5jdGlvbiAoZG9uZSkge1xuICAgICAgICAgICAgcmV0dXJuIGZuLmNhbGwodGhpcywgZG9uZSk7XG4gICAgICAgICAgfVxuICAgICAgKTtcbiAgICAgIGdsb2JhbC5zcGVjaWZ5ID0gZ2xvYmFsLml0O1xuICAgICAgZ2xvYmFsLmRlc2NyaWJlID0gZGVzYztcbiAgICAgIGdsb2JhbC5jb250ZXh0ID0gZ2xvYmFsLmRlc2NyaWJlO1xuICAgICAgZ2xvYmFsLmJlZm9yZSA9IChmbikgPT4ge1xuICAgICAgICBiZWZvcmVDYiA9IGZuO1xuICAgICAgfTtcbiAgICAgIGdsb2JhbC5hZnRlciA9IChmbikgPT4ge1xuICAgICAgICBhZnRlckNiID0gZm47XG4gICAgICB9O1xuICAgICAgZ2xvYmFsLmJlZm9yZUVhY2ggPSAoZm4pID0+IHtcbiAgICAgICAgYmVmb3JlRWFjaENiID0gZm47XG4gICAgICB9O1xuICAgICAgZ2xvYmFsLmFmdGVyRWFjaCA9IChmbikgPT4ge1xuICAgICAgICBhZnRlckVhY2hDYiA9IGZuO1xuICAgICAgfTtcbiAgICAgIGF3YWl0IHRlc3RzLmNhbGwodGhpcyk7XG4gICAgICBPYmplY3QuZW50cmllcyhnbG9iYWxzUHJldikuZm9yRWFjaCgoW2ssIHZdKSA9PiB7XG4gICAgICAgIGdsb2JhbFtrXSA9IHY7XG4gICAgICB9KTtcbiAgICB9KSgpO1xuICB9KTtcbn07XG5tb2R1bGUuZXhwb3J0cyA9IGRlc2M7XG4iXX0= | ||
//# sourceMapping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gICAgfVxuICAgICAgICAgIGlmICh0aW1lc3RhbXAgIT09IG51bGwpIHtcbiAgICAgICAgICAgIHRpbWVLZWVwZXIgPSBUaW1lS2VlcGVyKHsgdGltZXN0YW1wIH0pO1xuICAgICAgICAgICAgdGltZUtlZXBlci5pbmplY3QoKTtcbiAgICAgICAgICB9XG4gICAgICAgICAgaWYgKGNyeXB0b1NlZWQgIT09IG51bGwpIHtcbiAgICAgICAgICAgIHJhbmRvbVNlZWRlciA9IFJhbmRvbVNlZWRlcih7IHNlZWQ6IGNyeXB0b1NlZWQsIHJlc2VlZDogZmFsc2UgfSk7XG4gICAgICAgICAgICByYW5kb21TZWVkZXIuaW5qZWN0KCk7XG4gICAgICAgICAgfVxuICAgICAgICAgIGlmICh1c2VOb2NrID09PSB0cnVlKSB7XG4gICAgICAgICAgICByZXF1ZXN0UmVjb3JkZXIgPSBSZXF1ZXN0UmVjb3JkZXIoe1xuICAgICAgICAgICAgICBjYXNzZXR0ZUZvbGRlcjogYCR7bm9ja0ZvbGRlcn0vYCxcbiAgICAgICAgICAgICAgc3RyaXBIZWFkZXJzOiBmYWxzZSxcbiAgICAgICAgICAgICAgc3RyaWN0OiB0cnVlLFxuICAgICAgICAgICAgICBoZWFsOiBub2NrSGVhbFxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfVxuICAgICAgICAgIGF3YWl0IGJlZm9yZUNiLmNhbGwodGhpcyk7XG4gICAgICAgIH0pKCk7XG4gICAgICB9KTtcblxuICAgICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGZ1bmMtbmFtZXNcbiAgICAgIG1vY2hhLmFmdGVyKGZ1bmN0aW9uICgpIHtcbiAgICAgICAgcmV0dXJuIChhc3luYyAoKSA9PiB7XG4gICAgICAgICAgaWYgKHJlcXVlc3RSZWNvcmRlciAhPT0gbnVsbCkge1xuICAgICAgICAgICAgcmVxdWVzdFJlY29yZGVyLnNodXRkb3duKCk7XG4gICAgICAgICAgICByZXF1ZXN0UmVjb3JkZXIgPSBudWxsO1xuICAgICAgICAgIH1cbiAgICAgICAgICBpZiAocmFuZG9tU2VlZGVyICE9PSBudWxsKSB7XG4gICAgICAgICAgICByYW5kb21TZWVkZXIucmVsZWFzZSgpO1xuICAgICAgICAgICAgcmFuZG9tU2VlZGVyID0gbnVsbDtcbiAgICAgICAgICB9XG4gICAgICAgICAgaWYgKHRpbWVLZWVwZXIgIT09IG51bGwpIHtcbiAgICAgICAgICAgIHRpbWVLZWVwZXIucmVsZWFzZSgpO1xuICAgICAgICAgICAgdGltZUtlZXBlciA9IG51bGw7XG4gICAgICAgICAgfVxuICAgICAgICAgIGlmIChlbnZNYW5hZ2VyRGVzYyAhPT0gbnVsbCkge1xuICAgICAgICAgICAgZW52TWFuYWdlckRlc2MudW5hcHBseSgpO1xuICAgICAgICAgICAgZW52TWFuYWdlckRlc2MgPSBudWxsO1xuICAgICAgICAgIH1cbiAgICAgICAgICBpZiAoZW52TWFuYWdlckZpbGUgIT09IG51bGwpIHtcbiAgICAgICAgICAgIGVudk1hbmFnZXJGaWxlLnVuYXBwbHkoKTtcbiAgICAgICAgICAgIGVudk1hbmFnZXJGaWxlID0gbnVsbDtcbiAgICAgICAgICB9XG4gICAgICAgICAgYXdhaXQgYWZ0ZXJDYi5jYWxsKHRoaXMpO1xuICAgICAgICB9KSgpO1xuICAgICAgfSk7XG5cbiAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBmdW5jLW5hbWVzXG4gICAgICBtb2NoYS5iZWZvcmVFYWNoKGZ1bmN0aW9uICgpIHtcbiAgICAgICAgcmV0dXJuIChhc3luYyAoKSA9PiB7XG4gICAgICAgICAgaWYgKHVzZVRtcERpciA9PT0gdHJ1ZSkge1xuICAgICAgICAgICAgdG1wLnNldEdyYWNlZnVsQ2xlYW51cCgpO1xuICAgICAgICAgICAgZGlyID0gdG1wLmRpclN5bmMoeyBrZWVwOiBmYWxzZSwgdW5zYWZlQ2xlYW51cDogdHJ1ZSB9KS5uYW1lO1xuICAgICAgICAgIH1cbiAgICAgICAgICBpZiAodXNlTm9jayA9PT0gdHJ1ZSkge1xuICAgICAgICAgICAgYXdhaXQgcmVxdWVzdFJlY29yZGVyLmluamVjdChnZW5DYXNzZXR0ZU5hbWUodGhpcy5jdXJyZW50VGVzdCkpO1xuICAgICAgICAgIH1cbiAgICAgICAgICBpZiAocmVjb3JkICE9PSBmYWxzZSkge1xuICAgICAgICAgICAgbG9nUmVjb3JkZXIgPSBMb2dSZWNvcmRlcih7XG4gICAgICAgICAgICAgIHZlcmJvc2U6IHByb2Nlc3MuYXJndi5zbGljZSgyKS5pbmNsdWRlcygnLS12ZXJib3NlJyksXG4gICAgICAgICAgICAgIGxvZ2dlcjogcmVjb3JkXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIGxvZ1JlY29yZGVyLmluamVjdCgpO1xuICAgICAgICAgIH1cbiAgICAgICAgICBhd2FpdCBiZWZvcmVFYWNoQ2IuY2FsbCh0aGlzLCBnZXRBcmdzKCkpO1xuICAgICAgICB9KSgpO1xuICAgICAgfSk7XG5cbiAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBmdW5jLW5hbWVzXG4gICAgICBtb2NoYS5hZnRlckVhY2goZnVuY3Rpb24gKCkge1xuICAgICAgICByZXR1cm4gKGFzeW5jICgpID0+IHtcbiAgICAgICAgICBpZiAobG9nUmVjb3JkZXIgIT09IG51bGwpIHtcbiAgICAgICAgICAgIGxvZ1JlY29yZGVyLnJlbGVhc2UoKTtcbiAgICAgICAgICAgIGxvZ1JlY29yZGVyID0gbnVsbDtcbiAgICAgICAgICB9XG4gICAgICAgICAgaWYgKHJlcXVlc3RSZWNvcmRlciAhPT0gbnVsbCkge1xuICAgICAgICAgICAgYXdhaXQgcmVxdWVzdFJlY29yZGVyLnJlbGVhc2UoKTtcbiAgICAgICAgICB9XG4gICAgICAgICAgaWYgKGRpciAhPT0gbnVsbCkge1xuICAgICAgICAgICAgZGlyID0gbnVs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XG4gICAgICAgIGFmdGVyQ2IgPSBmbjtcbiAgICAgIH07XG4gICAgICBnbG9iYWwuYmVmb3JlRWFjaCA9IChmbikgPT4ge1xuICAgICAgICBiZWZvcmVFYWNoQ2IgPSBmbjtcbiAgICAgIH07XG4gICAgICBnbG9iYWwuYWZ0ZXJFYWNoID0gKGZuKSA9PiB7XG4gICAgICAgIGFmdGVyRWFjaENiID0gZm47XG4gICAgICB9O1xuICAgICAgYXdhaXQgdGVzdHMuY2FsbCh0aGlzKTtcbiAgICAgIE9iamVjdC5lbnRyaWVzKGdsb2JhbHNQcmV2KS5mb3JFYWNoKChbaywgdl0pID0+IHtcbiAgICAgICAgZ2xvYmFsW2tdID0gdjtcbiAgICAgIH0pO1xuICAgIH0pKCk7XG4gIH0pO1xufTtcbm1vZHVsZS5leHBvcnRzID0gZGVzYztcbiJdfQ== |
{ | ||
"name": "node-tdd", | ||
"version": "2.11.5", | ||
"version": "2.12.0", | ||
"description": "Drop in extension for mocha to abstract commonly used test setups", | ||
@@ -47,5 +47,5 @@ "main": "lib/index.js", | ||
"@babel/register": "7.10.1", | ||
"@blackflux/eslint-plugin-rules": "1.3.29", | ||
"@blackflux/eslint-plugin-rules": "1.3.30", | ||
"@blackflux/robo-config-plugin": "3.4.11", | ||
"aws-sdk": "2.698.0", | ||
"aws-sdk": "2.699.0", | ||
"aws-sdk-wrap": "4.4.7", | ||
@@ -62,3 +62,3 @@ "babel-eslint": "10.1.0", | ||
"fancy-log": "1.3.3", | ||
"js-gardener": "2.0.162", | ||
"js-gardener": "2.0.164", | ||
"lambda-monitor-logger": "2.4.0", | ||
@@ -65,0 +65,0 @@ "nyc": "15.1.0", |
@@ -82,8 +82,12 @@ # node-tdd | ||
- `--nock-heal`: Will try to heal ordering of nock cassette recordings | ||
- `--nock-heal body`: Will try to heal bodies of nock cassette recordings (ordering is expected to be correct) | ||
- `--nock-heal path`: Will try to heal paths of nock cassette recordings (ordering is expected to be correct) | ||
- `--nock-heal response`: Will try to heal responses (ordering is expected to be correct) | ||
- `--nock-heal magic`: Will try to heal bodies, paths and responses of nock cassette recordings (ordering is expected to be correct) | ||
- `--nock-heal prune`: Will remove unmatched recordings from nock cassette | ||
- `--nock-heal body`: Will try to heal bodies of nock cassette recordings | ||
- `--nock-heal path`: Will try to heal paths of nock cassette recordings | ||
- `--nock-heal response`: Will try to heal responses | ||
- `--nock-heal record`: Will record the next unmatched request | ||
- `--nock-heal magic`: Shorthand for `prune,body,path,response,record` | ||
Note, different flags can be combined as e.g. `--nock-heal body,path`. | ||
Notes: | ||
- Different flags can be combined as e.g. `--nock-heal body,path` | ||
- Healing cassettes containing out-of-order requests can result in undesired behaviour | ||
@@ -90,0 +94,0 @@ ### Options |
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
Network access
Supply chain riskThis module accesses the network.
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
115579
14
669
172
1