UNPKG

1.36 kBJavaScriptView Raw
1(function (factory) {
2 if (typeof module === "object" && typeof module.exports === "object") {
3 var v = factory(require, exports);
4 if (v !== undefined) module.exports = v;
5 }
6 else if (typeof define === "function" && define.amd) {
7 define(["require", "exports", "tslib", "./Coverage"], factory);
8 }
9})(function (require, exports) {
10 "use strict";
11 Object.defineProperty(exports, "__esModule", { value: true });
12 var tslib_1 = require("tslib");
13 var Coverage_1 = tslib_1.__importDefault(require("./Coverage"));
14 var HtmlCoverage = (function (_super) {
15 tslib_1.__extends(HtmlCoverage, _super);
16 function HtmlCoverage(executor, options) {
17 if (options === void 0) { options = {}; }
18 var _this = _super.call(this, executor, options) || this;
19 _this.reportType = 'html';
20 if ('verbose' in options) {
21 _this.verbose = options.verbose;
22 }
23 return _this;
24 }
25 HtmlCoverage.prototype.getReporterOptions = function () {
26 var options = _super.prototype.getReporterOptions.call(this);
27 options.verbose = this.verbose;
28 return options;
29 };
30 return HtmlCoverage;
31 }(Coverage_1.default));
32 exports.default = HtmlCoverage;
33});
34//# sourceMappingURL=HtmlCoverage.js.map
\No newline at end of file