@shko.online/componentframework-mock
Version:
Mocking library to help with testing PowerApps Component Framework Components
16 lines (15 loc) • 460 B
TypeScript
/// <reference types="powerapps-component-framework" />
import type { SinonStub } from 'sinon';
export declare class ClientMock implements ComponentFramework.Client {
disableScroll: boolean;
getClient: SinonStub<[
], string>;
getFormFactor: SinonStub<[
], number>;
isNetworkAvailable: SinonStub<[
], boolean>;
isOffline: SinonStub<[
], boolean>;
constructor();
}
//# sourceMappingURL=Client.mock.d.ts.map