xrm-mock
Version:
A fake implementation of the Xrm object model. Used for testing Dynamics 365 client-side scripts.
14 lines • 558 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var XrmMock = require("../xrm-mock/index");
var ui_1 = require("./ui");
var FormContext = /** @class */ (function () {
function FormContext() {
}
FormContext.createFormContext = function (entity, ui, process) {
return new XrmMock.FormContextMock(new XrmMock.DataMock(new XrmMock.EntityMock(entity), process), ui || ui_1.default.createUi());
};
return FormContext;
}());
exports.default = FormContext;
//# sourceMappingURL=formcontext.js.map