test-agent
Advanced tools
@@ -129,2 +129,8 @@ var Client = require('../../node/client'), | ||
client.on('error', function (error) { | ||
console.error(error.msg); | ||
client.send('close'); | ||
process.exit(1); | ||
}) | ||
client.on('test runner end', function(runner){ | ||
@@ -131,0 +137,0 @@ var reporter = runner.getMochaReporter(); |
@@ -24,6 +24,6 @@ var fsPath = require('path'), | ||
this[key].forEach(function(subkey, i) { | ||
this[key][i] = fsPath.join('/', fsPath.normalize(this[key][i]), '/'); | ||
this[key][i] = fsPath.join(fsPath.normalize(this[key][i]), '/'); | ||
}, this); | ||
} else { | ||
this[key] = fsPath.join('/', fsPath.normalize(this[key]), '/'); | ||
this[key] = fsPath.join(fsPath.normalize(this[key]), '/'); | ||
} | ||
@@ -30,0 +30,0 @@ }; |
{ | ||
"name": "test-agent", | ||
"version": "0.23.2", | ||
"version": "0.23.3", | ||
"author": "James Lal", | ||
@@ -5,0 +5,0 @@ "description": "execute client side tests from browser report back to cli", |
251474
0.04%7847
0.06%