@shko.online/componentframework-mock
Version:
Mocking library to help with testing PowerApps Component Framework Components
31 lines (29 loc) • 851 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.PopupServiceMock = void 0;
var _sinon = require("sinon");
/*
Copyright (c) 2022 Betim Beja and Shko Online LLC
Licensed under the MIT license.
*/
class PopupServiceMock {
constructor() {
this.createPopup = void 0;
this.openPopup = void 0;
this.closePopup = void 0;
this.updatePopup = void 0;
this.deletePopup = void 0;
this.setPopupsId = void 0;
this.getPopupsId = void 0;
this.createPopup = (0, _sinon.stub)();
this.openPopup = (0, _sinon.stub)();
this.closePopup = (0, _sinon.stub)();
this.updatePopup = (0, _sinon.stub)();
this.deletePopup = (0, _sinon.stub)();
this.setPopupsId = (0, _sinon.stub)();
this.getPopupsId = (0, _sinon.stub)();
}
}
exports.PopupServiceMock = PopupServiceMock;