lawl-spec-reporter
Version:
Spec reporter for jasmine, based on jasmine-spec-reporter, outputs in LolSpeak
22 lines (14 loc) • 510 B
JavaScript
;
var DisplayProcessor = require('../display-processor');
function SpecColorsProcessor() {}
SpecColorsProcessor.prototype = new DisplayProcessor();
SpecColorsProcessor.prototype.displaySuccessfulSpec = function (spec, log) {
return log.success;
};
SpecColorsProcessor.prototype.displayFailedSpec = function (spec, log) {
return log.failure;
};
SpecColorsProcessor.prototype.displayPendingSpec = function (spec, log) {
return log.pending;
};
module.exports = SpecColorsProcessor;