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.26.0 to 0.26.1

lib/node/blanket/blanket-console-reporter.js

12

lib/node/bin/server.js

@@ -34,2 +34,8 @@ var server = new (require('../websocket-server')),

option('coverage-thresholds', {
alias: 't',
desc: "Array of paths to coverage thresholds files",
default: './metadata.json'
}).
option('growl', {

@@ -91,7 +97,9 @@ desc: "Enables growl notifications for server"

use(Enhancements.MochaTestEvents).
use(Enhancements.BlanketConsoleReporter).
use(Enhancements.QueueTests).
use(Enhancements.StartCoverages).
use(Enhancements.EventMirror).
use(Enhancements.Watcher);
use(Enhancements.Watcher).
use(Enhancements.BlanketConsoleReporter, {
paths: argv['coverage-thresholds'].split(' ')
});

@@ -98,0 +106,0 @@ if(argv.growl){

var Client = require('../../node/client'),
Apps = require('../../node/server'),
optimist = require('optimist'),
fsPath = require('path'),
argv,

@@ -53,2 +54,7 @@ reporters,

}).
option('coverage-thresholds', {
alias: 't',
desc: "Array of paths to coverage thresholds files",
default: './metadata.json'
}).
option('server', {

@@ -130,3 +136,5 @@ desc: 'Location of the websocket server to connect to.',

if (enableCoverage) {
client.use(Apps.BlanketConsoleReporter);
client.use(Apps.BlanketConsoleReporter, {
paths: argv['coverage-thresholds'].split(' ')
});
}

@@ -133,0 +141,0 @@

2

lib/node/server/index.js
module.exports = exports = {
Broadcast: require('./broadcast'),
MochaTestEvents: require('../../test-agent/common/mocha-test-events'),
BlanketConsoleReporter: require('../../test-agent/blanket/blanket-console-reporter'),
BlanketConsoleReporter: require('../blanket/blanket-console-reporter'),
Responder: require('./responder'),

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

{
"name": "test-agent",
"version": "0.26.0",
"version": "0.26.1",
"author": "James Lal",

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

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