html-reporter
Version:
Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.
21 lines • 803 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TestplaneTestCollectionAdapter = void 0;
const testplane_1 = require("../test/testplane");
class TestplaneTestCollectionAdapter {
static create(testCollection, saveHistoryMode) {
return new this(testCollection, saveHistoryMode);
}
constructor(testCollection, saveHistoryMode) {
this._testCollection = testCollection;
this._testAdapters = this._testCollection.mapTests(test => testplane_1.TestplaneTestAdapter.create(test, saveHistoryMode));
}
get original() {
return this._testCollection;
}
get tests() {
return this._testAdapters;
}
}
exports.TestplaneTestCollectionAdapter = TestplaneTestCollectionAdapter;
//# sourceMappingURL=testplane.js.map