xrm-mock
Version:
A fake implementation of the Xrm object model. Used for testing Dynamics 365 client-side scripts.
29 lines • 1.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormItemMock = void 0;
var FormItemMock = /** @class */ (function () {
function FormItemMock(components) {
this.id = components.id;
this.label = components.label;
this.formType = components.formType;
this.currentItem = components.currentItem;
}
FormItemMock.prototype.getId = function () {
return this.id;
};
FormItemMock.prototype.getLabel = function () {
return this.label;
};
FormItemMock.prototype.navigate = function () {
throw new Error("Form navigation not implemented.");
};
FormItemMock.prototype.getVisible = function () {
throw new Error("getVisible not implemented.");
};
FormItemMock.prototype.setVisible = function (value) {
throw new Error("setVisible not implemented.");
};
return FormItemMock;
}());
exports.FormItemMock = FormItemMock;
//# sourceMappingURL=formitem.mock.js.map