Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-tdd

Package Overview
Dependencies
Maintainers
1
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-tdd - npm Package Compare versions

Comparing version 5.1.1 to 5.2.0

lib/modules/request-recorder/heal-body.js

3

lib/modules/request-recorder.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc