spec-prefixes-processor.js 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. "use strict";
  2. var __extends = (this && this.__extends) || (function () {
  3. var extendStatics = Object.setPrototypeOf ||
  4. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  5. function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
  6. return function (d, b) {
  7. extendStatics(d, b);
  8. function __() { this.constructor = d; }
  9. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  10. };
  11. })();
  12. Object.defineProperty(exports, "__esModule", { value: true });
  13. var display_processor_1 = require("../display-processor");
  14. var SpecPrefixesProcessor = (function (_super) {
  15. __extends(SpecPrefixesProcessor, _super);
  16. function SpecPrefixesProcessor() {
  17. return _super !== null && _super.apply(this, arguments) || this;
  18. }
  19. SpecPrefixesProcessor.prototype.displaySuccessfulSpec = function (spec, log) {
  20. return this.configuration.prefixes.successful + log;
  21. };
  22. SpecPrefixesProcessor.prototype.displayFailedSpec = function (spec, log) {
  23. return this.configuration.prefixes.failed + log;
  24. };
  25. SpecPrefixesProcessor.prototype.displayPendingSpec = function (spec, log) {
  26. return this.configuration.prefixes.pending + log;
  27. };
  28. return SpecPrefixesProcessor;
  29. }(display_processor_1.DisplayProcessor));
  30. exports.SpecPrefixesProcessor = SpecPrefixesProcessor;
  31. //# sourceMappingURL=spec-prefixes-processor.js.map