theia-extension-tester
Version:
A testing library built on Selenium to test Eclipse Theia extensions / plugins. Eclipse Che is supported as well.
17 lines (16 loc) • 741 B
TypeScript
export declare function getBrowserName(browser: string): string;
export declare function getBrowserLocation(browser: string): Promise<string | undefined>;
export declare function parseFileJsonArgument(fileOrJson: string | undefined, optional?: boolean, name?: string): Promise<any>;
export interface ComplexParseOptions {
optional?: boolean;
passThrough?: boolean;
name?: string;
object: any;
}
export declare function complexParse(rules: {
[key: string]: Function;
}, options: ComplexParseOptions): any;
export interface ObjectJsonArgumentParseOptions extends ComplexParseOptions {
stringifyObject?: boolean;
}
export declare function parseObjectJsonArgument<T>(options: ObjectJsonArgumentParseOptions): Promise<T>;