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

test-agent

Package Overview
Dependencies
Maintainers
6
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.23.8 to 0.23.9

35

lib/test-agent/browser-worker/mocha-driver.js

@@ -69,2 +69,20 @@ (function(window) {

extend: function extend(target, obj1, objN) {
var result = target || {};
for (var key in obj1) {
if (obj1.hasOwnProperty(key)) {
result[key] = obj1[key];
}
}
for (var key in objN) {
if (objN.hasOwnProperty(key)) {
result[key] = objN[key];
}
}
return result;
},
getReporter: function getReporter(box) {

@@ -138,15 +156,10 @@ var stream = TestAgent.Mocha.JsonStreamReporter,

// due to a bug in mocha, iframes added to the DOM are
// detected as global leaks in FF 21+, these global ignores
// are a workaround. see also:
// https://developer.mozilla.org/en-US/docs/Site_Compatibility_for_Firefox_21
var globalIgnores = ['0', '1', '2', '3', '4', '5'];
var options = self.extend({}, self.setup, {
ui: self.ui,
timeout: self.timeout,
reporter: self.getReporter(box)
});
//setup mocha
box.mocha.setup({
globals: globalIgnores,
ui: self.ui,
reporter: self.getReporter(box),
timeout: self.timeout
});
box.mocha.setup(options);
});

@@ -153,0 +166,0 @@

@@ -61,4 +61,4 @@ (function(window) {

MochaReporter.console.debug = consoleShim.bind(null, 'log');
MochaReporter.console.log = consoleShim.bind(null, 'log');
MochaReporter.console.debug = consoleShim.bind(null, 'log');
MochaReporter.console.info = consoleShim.bind(null, 'info');

@@ -65,0 +65,0 @@ MochaReporter.console.warn = consoleShim.bind(null, 'warn');

{
"name": "test-agent",
"version": "0.23.8",
"version": "0.23.9",
"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