@shko.online/componentframework-mock
Version:
Mocking library to help with testing PowerApps Component Framework Components
14 lines (13 loc) • 467 B
TypeScript
/// <reference types="powerapps-component-framework" />
import { SinonStub } from 'sinon';
export declare class CopilotMock implements ComponentFramework.Copilot {
executeEvent: SinonStub<[
string,
Record<string, unknown>
], Promise<ComponentFramework.MCSResponse[]>>;
executePrompt: SinonStub<[
string
], Promise<ComponentFramework.MCSResponse[]>>;
constructor();
}
//# sourceMappingURL=Copilot.mock.d.ts.map