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

darvin-testing-framework

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

darvin-testing-framework - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

6

index.js
'use strict';
const BbPromise = require('bluebird');
const deepAssign = require('deep-assign');
const uuid = require('uuid/v4');

@@ -99,5 +100,6 @@

const message = Object.assign({}, step.user, {
mocks: Object.assign({}, scenario.mocks, step.mocks),
contextMock: Object.assign({}, spec.contextMock, scenario.contextMock, step.contextMock)
mocks: deepAssign({}, spec.mocks, scenario.mocks, step.mocks),
contextMock: deepAssign({}, spec.contextMock, scenario.contextMock, step.contextMock)
});
return this._send(spec, sender, message)

@@ -104,0 +106,0 @@ .then(response => this._verifyStep(step, response));

{
"name": "darvin-testing-framework",
"version": "1.5.0",
"version": "1.6.0",
"description": "A framework for testing Darvin.ai bots.",

@@ -24,2 +24,3 @@ "main": "index.js",

"bluebird": "^3.5.0",
"deep-assign": "^2.0.0",
"node-fetch": "^1.7.1",

@@ -26,0 +27,0 @@ "uuid": "^3.1.0"

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