xrm-mock
Version:
A fake implementation of the Xrm object model. Used for testing Dynamics 365 client-side scripts.
13 lines (12 loc) • 410 B
TypeScript
/// <reference types="xrm" />
export declare class StepMock implements Xrm.ProcessFlow.Step {
required: boolean;
name: string;
attribute: string;
constructor(name: string, attribute: string, required: boolean);
getAttribute(): string;
getName(): string;
isRequired(): boolean;
getProgress(): number;
setProgress(stepProgress: number, message: string): string;
}