stepfunctions-testing
Version:
Step Functions testing library.
15 lines (14 loc) • 415 B
TypeScript
import { JsonSerializable } from '.';
export declare class MockedResponse implements JsonSerializable {
private responses;
private _name;
get name(): string;
constructor(name: string);
return<T = any>(response: T, repeat?: number): this;
throw(error: string, cause: string, repeat?: number): this;
toJson(): {
[x: string]: {
[index: string]: any;
};
};
}