xrm-mock
Version:
A fake implementation of the Xrm object model. Used for testing Dynamics 365 client-side scripts.
9 lines (8 loc) • 324 B
TypeScript
/// <reference types="xrm" />
export declare class SidePanesMock {
state: number;
createPane(paneOptions?: Xrm.App.PaneOptions): Xrm.Async.PromiseLike<Xrm.App.PaneObject>;
getAllPanes(): Xrm.App.PaneObject[];
getPane(panelId: string): Xrm.App.PaneObject;
getSelectedPane(): Xrm.App.PaneObject;
}