New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.22.2 to 0.22.3

lib/test-agent/blanket/blanket-console-reporter.js

2

lib/node/bin/server.js

@@ -90,3 +90,3 @@ var server = new (require('../websocket-server')),

use(Enhancements.MochaTestEvents).
use(Enhancements.BlanketCoverEvents).
use(Enhancements.BlanketConsoleReporter).
use(Enhancements.QueueTests).

@@ -93,0 +93,0 @@ use(Enhancements.StartCoverages).

@@ -90,3 +90,4 @@ var Client = require('../../node/client'),

var files = argv._.slice(1),
fsPath = require('path');
fsPath = require('path'),
launchEvent = enableCoverage ? 'start coverages' : 'queue tests';

@@ -101,8 +102,10 @@ files = files.map(function(file) {

client.mirrorServerEvents(['set test envs', 'error', 'test data', 'coverage data'], true);
if (enableCoverage) {
client.send('start coverages', {files: files});
} else {
client.send('queue tests', {files: files});
}
client.mirrorServerEvents([
'set test envs',
'error',
'test data',
'coverage report'
], true);
client.send(launchEvent, {files: files});
});

@@ -116,3 +119,3 @@

if (enableCoverage) {
client.use(Apps.BlanketCoverEvents);
client.use(Apps.BlanketConsoleReporter);
}

@@ -119,0 +122,0 @@

module.exports = exports = {
Broadcast: require('./broadcast'),
MochaTestEvents: require('../../test-agent/common/mocha-test-events'),
BlanketCoverEvents: require('../../test-agent/common/blanket-cover-events'),
BlanketConsoleReporter: require('../../test-agent/blanket/blanket-console-reporter'),
Responder: require('./responder'),

@@ -6,0 +6,0 @@ Watcher: require('./watcher'),

@@ -33,5 +33,3 @@ (function(window) {

_defaultConfig: {
'data-cover-only': 'js/',
'data-cover-never': 'test/unit/',
'data-cover-flags': 'lazyload'
'data-cover-only': 'js/'
},

@@ -38,0 +36,0 @@

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