chrec-core
Version:
ChRec's core business logic and model for testing HTML locator robustness
15 lines (14 loc) • 439 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const identififable_1 = require("./identififable");
class Action extends identififable_1.Identificable {
constructor(testResults, image, id) {
super(id);
this.testResults = testResults;
this.image = image;
}
toJSON() {
return Object.assign({ className: this.constructor.name }, this);
}
}
exports.Action = Action;