darvin-testing-framework
Advanced tools
Comparing version 1.5.0 to 1.6.0
'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" |
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
14171
137
4
+ Addeddeep-assign@^2.0.0
+ Addeddeep-assign@2.0.0(transitive)
+ Addedis-obj@1.0.1(transitive)