Comparing version 5.1.1 to 5.2.0
@@ -25,2 +25,3 @@ import assert from 'assert'; | ||
} from './request-recorder/util.js'; | ||
import healBody from './request-recorder/heal-body.js'; | ||
@@ -184,3 +185,3 @@ const nockBack = nock.back; | ||
if (!isEqual(scope.body, requestBody)) { | ||
pendingMocks[idx].record.body = requestBody; | ||
pendingMocks[idx].record.body = healBody(pendingMocks[idx].record.body, scope.body, requestBody); | ||
} | ||
@@ -187,0 +188,0 @@ return scope.body; |
{ | ||
"name": "node-tdd", | ||
"type": "module", | ||
"version": "5.1.1", | ||
"version": "5.2.0", | ||
"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
51471
21
1210