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

test-agent

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

test-agent - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

5

HISTORY.md

@@ -0,1 +1,6 @@

# 0.6.2
- Fixed issues where errors thrown from setup/beforeEach would
not be formatted correctly, due to a missing test.type /
err.uncaught options
# 0.6.1

@@ -2,0 +7,0 @@ - Added wait-for-event option to js-test-agent test

8

lib/test-agent/export-error.js

@@ -76,5 +76,9 @@ (function(window) {

errorObject.constructorName = err.constructor.name || '';
errorObject.expected = err.expected || '';
errorObject.actual = err.actual || '';
errorObject.expected = err.expected || null;
errorObject.actual = err.actual || null;
if (typeof(err) === 'object' && 'uncaught' in err) {
errorObject.uncaught = err.uncaught;
}
return errorObject;

@@ -81,0 +85,0 @@ };

@@ -131,3 +131,4 @@ (function(window) {

'duration',
'state'
'state',
'type'
];

@@ -134,0 +135,0 @@

{
"name": "test-agent",
"version": "0.6.1",
"version": "0.6.2",
"author": "James Lal",

@@ -5,0 +5,0 @@ "description": "execute client side tests from browser report back to cli",

Sorry, the diff of this file is too big to display

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