UNPKG

@shko.online/componentframework-mock

Version:

Mocking library to help with testing PowerApps Component Framework Components

14 lines (13 loc) 472 B
/// <reference types="powerapps-component-framework" /> import type { 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