@shko.online/componentframework-mock
Version:
Mocking library to help with testing PowerApps Component Framework Components
15 lines (14 loc) • 454 B
TypeScript
/// <reference types="powerapps-component-framework" />
import { SinonStub } from 'sinon';
export declare class ResourcesMock implements ComponentFramework.Resources {
getResource: SinonStub<[
/*id*/ string,
/*success*/ (data: string) => void,
/*failure*/ () => void
], void>;
getString: SinonStub<[
/*id*/ string
], string>;
constructor();
}
//# sourceMappingURL=Resources.mock.d.ts.map