UNPKG

@shko.online/componentframework-mock

Version:

Mocking library to help with testing PowerApps Component Framework Components

8 lines 422 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