html-reporter
Version:
Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.
22 lines • 693 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SpecificTestRunner = void 0;
const runner_1 = require("./runner");
class SpecificTestRunner extends runner_1.BaseRunner {
constructor(collection, tests) {
super(collection);
this._tests = tests;
}
run(runHandler) {
this._filter();
return super.run(runHandler);
}
_filter() {
this._collection.disableAll();
this._tests.forEach(({ testName, browserName }) => {
this._collection.enableTest(testName, browserName);
});
}
}
exports.SpecificTestRunner = SpecificTestRunner;
//# sourceMappingURL=specific-test-runner.js.map