@shko.online/componentframework-mock
Version:
Mocking library to help with testing PowerApps Component Framework Components
11 lines • 424 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