UNPKG

@shko.online/componentframework-mock

Version:

Mocking library to help with testing PowerApps Component Framework Components

24 lines (23 loc) 613 B
/* Copyright (c) 2022 Betim Beja and Shko Online LLC Licensed under the MIT license. */ import { stub } from 'sinon'; export 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 = stub(); this.openPopup = stub(); this.closePopup = stub(); this.updatePopup = stub(); this.deletePopup = stub(); this.setPopupsId = stub(); this.getPopupsId = stub(); } }