@shko.online/componentframework-mock
Version:
Mocking library to help with testing PowerApps Component Framework Components
28 lines (27 loc) • 834 B
TypeScript
/// <reference types="powerapps-component-framework" />
import type { SinonStub } from 'sinon';
export declare class PopupServiceMock implements ComponentFramework.FactoryApi.Popup.PopupService {
createPopup: SinonStub<[
/*props*/ ComponentFramework.FactoryApi.Popup.Popup
], void>;
openPopup: SinonStub<[
/*name*/ string
], void>;
closePopup: SinonStub<[
/*name*/ string
], void>;
updatePopup: SinonStub<[
/*name*/ string,
/*newProps*/ ComponentFramework.FactoryApi.Popup.Popup
], void>;
deletePopup: SinonStub<[
/*name*/ string
], void>;
setPopupsId: SinonStub<[
/*id*/ string
], void>;
getPopupsId: SinonStub<[
], string>;
constructor();
}
//# sourceMappingURL=PopupService.mock.d.ts.map