@openfin/automation-helpers
Version:
Helper methods for automation testing in the OpenFin ecosystem
23 lines (22 loc) • 573 B
TypeScript
/**
* Code snippets for async javascript methods.
*/
export declare class Snippets {
/**
* Wait for object existing.
* @returns The code snippet.
*/
static waitForObjectExisting(): string;
/**
* Convert object to proxy.
* @returns The code snippet.
*/
static convertToProxy(): string;
/**
* Convert object to proxy.
* @param methodName The method name to call.
* @returns The code snippet.
*/
static callMethodAndProxyResult(methodName: string): string;
static mapProxyFieldNames(): string;
}