@shko.online/componentframework-mock
Version:
Mocking library to help with testing PowerApps Component Framework Components
16 lines • 616 B
TypeScript
/// <reference types="powerapps-component-framework" />
import type { SinonStub } from 'sinon';
export declare class ModeMock implements ComponentFramework.Mode {
allocatedHeight: number;
allocatedWidth: number;
isControlDisabled: boolean;
isVisible: boolean;
label: string;
setControlState: SinonStub<[state: ComponentFramework.Dictionary], boolean>;
_FullScreen: boolean;
_TrackingContainerResize: boolean;
setFullScreen: SinonStub<[value: boolean], void>;
trackContainerResize: SinonStub<[value: boolean], void>;
constructor();
}
//# sourceMappingURL=Mode.mock.d.ts.map