Socket
Socket
Sign inDemoInstall

darvin-testing-framework

Package Overview
Dependencies
15
Maintainers
5
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

0

fetcher.js

@@ -0,0 +0,0 @@ 'use strict';

6

index.js

@@ -188,2 +188,3 @@ 'use strict';

if (expectedResponses.length !== response.length) {
console.error(`RESPONSES LENGTHS DO NOT MATCH:\nEXPECT: ${expectedResponses.length}\nACTUAL: ${response.length}`);
return false;

@@ -198,3 +199,3 @@ }

if (!isValidResponse) {
throw Error(`Unexpected response. Expected: ${JSON.stringify(step.bot)}. Actual: ${JSON.stringify(response)}`);
throw Error(`UNEXPECTED RESPONSE. \nEXPECT: ${JSON.stringify(step.bot)}. \nACTUAL: ${JSON.stringify(response)}`);
}

@@ -207,2 +208,3 @@ }

if (Object.keys(actual).length !== keys.length) {
console.error(`KEYS DOES NOT MATCH:\nKEYS EXPECT: ${keys}\nKEYS ACTUAL: ${Object.keys(actual)}`);
return false;

@@ -215,3 +217,3 @@ }

if (!isValid) {
return false;
throw Error(`FAILED VERIFICATION:\nKEY: ${key}\nEXPECT: ${JSON.stringify(expected)}\nACTUAL: ${JSON.stringify(actual)}`);
}

@@ -218,0 +220,0 @@ }

{
"name": "darvin-testing-framework",
"version": "2.1.0",
"version": "2.1.1",
"description": "A framework for testing Progress NativeChat bots.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -0,0 +0,0 @@ # Darvin Testing Framework

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc