Comparing version 5.2.3 to 5.2.4
@@ -237,3 +237,2 @@ import assert from 'assert'; | ||
if (anyFlagPresent(['magic', 'response'])) { | ||
const interceptorBody = tryParseJson(interceptor.body); | ||
const responseBody = tryParseJson([ | ||
@@ -245,5 +244,6 @@ healSqs | ||
)); | ||
updateAndRestoreModifiers(pendingMocks[idx].record, 'response', interceptorBody, responseBody); | ||
const interceptorBody = tryParseJson(interceptor.body); | ||
// eslint-disable-next-line no-param-reassign | ||
interceptor.body = responseBody; | ||
updateAndRestoreModifiers(pendingMocks[idx].record, 'response', interceptorBody, responseBody); | ||
} | ||
@@ -250,0 +250,0 @@ |
{ | ||
"name": "node-tdd", | ||
"type": "module", | ||
"version": "5.2.3", | ||
"version": "5.2.4", | ||
"description": "Drop in extension for mocha to abstract commonly used test setups", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
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