Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 099054eb3f
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (25 sloc) 0.483 kb
var utils = require('jes_utils');
var stats;
exports.settings = {
onStart: function(replSession) {
stats = {
passes: 0,
fails: 0,
changes: 0
};
},
onPass: function() {
stats.passes += 1;
},
onFail: function() {
stats.fails += 1;
},
onChange: function(path, curr, prev) {
stats.changes += 1;
}
};
// Run me from the REPL to see your test stats!
exports.stats = function() {
return stats;
}
exports.files = utils.projectFiles;
Jump to Line
Something went wrong with that request. Please try again.