Comparing version 4.1.0 to 4.1.1
@@ -182,3 +182,6 @@ import assert from 'assert'; | ||
const requestBody = tryParseJson(body); | ||
pendingMocks[idx].record.body = nullAsString(requestBody); | ||
const requestBodyStr = nullAsString(requestBody); | ||
if (!isEqual(scope.body, requestBodyStr)) { | ||
pendingMocks[idx].record.body = requestBodyStr; | ||
} | ||
return scope.body; | ||
@@ -185,0 +188,0 @@ } |
{ | ||
"name": "node-tdd", | ||
"type": "module", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"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
49637
1158