UNPKG

definition-tester

Version:
38 lines 1.5 kB
'use strict'; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var TestSuiteBase_1 = require('../suite/TestSuiteBase'); var TscTest_1 = require('../tsc/TscTest'); var TsdparamsSuite = (function (_super) { __extends(TsdparamsSuite, _super); function TsdparamsSuite(options, print) { _super.call(this, options, 'Find not required .tscparams files', 'New arrival!'); this.printErrorCount = false; } TsdparamsSuite.prototype.runTest = function (targetFile) { var _this = this; return this.queue.run(new TscTest_1.default(this, targetFile, { tscPath: this.options.tscPath, useTscParams: false, checkNoImplicitAny: true })).then(function (result) { _this.testResults.push(result); _this.print.clearCurrentLine(); return result; }); }; Object.defineProperty(TsdparamsSuite.prototype, "ngTests", { get: function () { return []; }, enumerable: true, configurable: true }); return TsdparamsSuite; }(TestSuiteBase_1.default)); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = TsdparamsSuite; //# sourceMappingURL=TscparamsSuite.js.map