test-agent
Advanced tools
Comparing version 0.26.0 to 0.26.1
@@ -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 @@ |
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", |
252203
7723
21